X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http.c;h=8cf8126ed44151efed4dfaf46a6fb8b035ef270e;hp=207c248ae0f04a6831d50fc8c34bc732b94d9a7c;hb=4d376d38ec260d4fd467bb95b41451bf645d92e4;hpb=650b04d44f7ab3a5325865d9ffa10a5245ac7eca diff --git a/src/php_http.c b/src/php_http.c index 207c248..8cf8126 100644 --- a/src/php_http.c +++ b/src/php_http.c @@ -31,12 +31,12 @@ #if PHP_HTTP_HAVE_LIBICU # include #endif -#if PHP_HTTP_HAVE_LIBIDN2 -# include -#endif #if PHP_HTTP_HAVE_LIBIDN # include #endif +#if PHP_HTTP_HAVE_LIBIDN2 +# include +#endif #if PHP_HTTP_HAVE_LIBIDNKIT2 || PHP_HTTP_HAVE_LIBIDNKIT #include "idn/version.h" #endif @@ -58,7 +58,6 @@ PHP_MINFO_FUNCTION(http); static zend_module_dep http_module_deps[] = { ZEND_MOD_REQUIRED("raphf") - ZEND_MOD_REQUIRED("propro") ZEND_MOD_REQUIRED("spl") #if PHP_HTTP_HAVE_HASH ZEND_MOD_REQUIRED("hash") @@ -137,6 +136,10 @@ PHP_MINIT_FUNCTION(http) || SUCCESS != PHP_MINIT_CALL(http_exception) || SUCCESS != PHP_MINIT_CALL(http_cookie) || SUCCESS != PHP_MINIT_CALL(http_encoding) + || SUCCESS != PHP_MINIT_CALL(http_encoding_zlib) +#if PHP_HTTP_HAVE_LIBBROTLI + || SUCCESS != PHP_MINIT_CALL(http_encoding_brotli) +#endif || SUCCESS != PHP_MINIT_CALL(http_filter) || SUCCESS != PHP_MINIT_CALL(http_header) || SUCCESS != PHP_MINIT_CALL(http_header_parser)