X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_curl.c;h=91b476c3b5076e15997b5889879441519ef1d335;hb=c6424d113f45150b6d6723083b9e424a8c87ba32;hp=adf7885a6676246875363224d42fb89e95e15186;hpb=9c1afd81b9baaac03a51c12d42028010054735ce;p=m6w6%2Fext-http diff --git a/php_http_curl.c b/php_http_curl.c index adf7885..91b476c 100644 --- a/php_http_curl.c +++ b/php_http_curl.c @@ -10,13 +10,10 @@ +--------------------------------------------------------------------+ */ -#include "php_http.h" +#include "php_http_api.h" #if PHP_HTTP_HAVE_CURL -#include "php_http_request.h" -#include "php_http_request_pool.h" - #include #define PHP_HTTP_CURL_VERSION(x, y, z) (LIBCURL_VERSION_NUM >= (((x)<<16) + ((y)<<8) + (z))) @@ -24,10 +21,6 @@ # include #endif -#include -#include - - typedef struct php_http_curl_request { CURL *handle; @@ -516,6 +509,7 @@ static int php_http_curl_request_pool_socket_callback(CURL *easy, curl_socket_t case CURL_POLL_REMOVE: efree(ev); + /* no break */ case CURL_POLL_NONE: return 0;