- return zvals directly and don'T assume a type
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 14b25bcf49ab67e3cc2a52cdc554aa8af0a5527f..c9e693126f2c9839a1e627524b9b4751108575bd 100644 (file)
--- 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