Fixes https://github.com/m6w6/ext-http/issues/122
Error message:
> Could not set option tcp_fastopen
> (An unknown option was passed in to libcurl)
}
#endif
#if PHP_HTTP_CURL_VERSION(7,49,0)
}
#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);
php_http_option_register(registry, ZEND_STRL("tcp_fastopen"), CURLOPT_TCP_FASTOPEN, _IS_BOOL);