X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;fp=src%2Fphp_http_client_curl.c;h=b8ed3c54b6a5ce61c2bc95b57404cc8080438bfd;hp=daadf698e5b15f8058f7cd4a590e253fe652e8ba;hb=86b8a4396d03ad6161ba3d05dd4986521ec7e182;hpb=0618dea119fb3782c2e254060ceea01eaec03aa3 diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index daadf69..b8ed3c5 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -1486,7 +1486,11 @@ static void php_http_curle_options_init(php_http_options_t *registry) } #endif #if PHP_HTTP_CURL_VERSION(7,49,0) +# if PHP_WIN32 + /* CURLOPT_TCP_FASTOPEN is not supported (yet) on Windows */ +# else php_http_option_register(registry, ZEND_STRL("tcp_fastopen"), CURLOPT_TCP_FASTOPEN, _IS_BOOL); +# endif #endif /* ssl */