X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http.c;h=c9e693126f2c9839a1e627524b9b4751108575bd;hb=43923eca4429ed3ce5fb85407345d7030a1879f1;hp=14b25bcf49ab67e3cc2a52cdc554aa8af0a5527f;hpb=b2e9ffe535660f5de2ec850ddc0dd6e99a34724d;p=m6w6%2Fext-http diff --git a/http.c b/http.c index 14b25bc..c9e6931 100644 --- a/http.c +++ b/http.c @@ -216,9 +216,9 @@ PHP_INI_BEGIN() #endif HTTP_PHP_INI_ENTRY("http.force_exit", "1", PHP_INI_ALL, OnUpdateBool, force_exit) #ifdef HTTP_HAVE_ZLIB - HTTP_PHP_INI_ENTRY("http.ob_inflate_auto", "0", PHP_INI_ALL, OnUpdateBool, send.inflate.start_auto) + HTTP_PHP_INI_ENTRY("http.ob_inflate_auto", "0", PHP_INI_PERDIR, OnUpdateBool, send.inflate.start_auto) HTTP_PHP_INI_ENTRY("http.ob_inflate_flags", "0", PHP_INI_ALL, OnUpdateLong, send.inflate.start_flags) - HTTP_PHP_INI_ENTRY("http.ob_deflate_auto", "0", PHP_INI_ALL, OnUpdateBool, send.deflate.start_auto) + HTTP_PHP_INI_ENTRY("http.ob_deflate_auto", "0", PHP_INI_PERDIR, OnUpdateBool, send.deflate.start_auto) HTTP_PHP_INI_ENTRY("http.ob_deflate_flags", "0", PHP_INI_ALL, OnUpdateLong, send.deflate.start_flags) #endif PHP_INI_END() @@ -338,6 +338,10 @@ PHP_MINFO_FUNCTION(http) "HttpRequest, " "HttpRequestPool, " # endif +# ifdef HTTP_HAVE_ZLIB + "HttpDeflateStream, " + "HttpInflateStream, " +# endif # ifndef WONKY "HttpResponse" # endif