- initialize default compression level
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 2402ccba6b7fd761c9ac943106306833f38c5430..060d55b96524c9535713bc3ce4f515ae903b7c0a 100644 (file)
--- a/http.c
+++ b/http.c
@@ -77,8 +77,8 @@ zend_function_entry http_functions[] = {
        PHP_FE(http_date, NULL)
        PHP_FE(http_build_uri, NULL)
        PHP_FALIAS(http_absolute_uri, http_build_uri, NULL)
-       PHP_FE(http_negotiate_language, NULL)
-       PHP_FE(http_negotiate_charset, NULL)
+       PHP_FE(http_negotiate_language, http_arg_pass_ref_2)
+       PHP_FE(http_negotiate_charset, http_arg_pass_ref_2)
        PHP_FE(http_redirect, NULL)
        PHP_FE(http_throttle, NULL)
        PHP_FE(http_send_status, NULL)
@@ -114,6 +114,14 @@ zend_function_entry http_functions[] = {
        PHP_FE(http_build_query, NULL)
 #endif
        PHP_FE(ob_etaghandler, NULL)
+#ifdef HTTP_HAVE_ZLIB
+       PHP_FE(http_gzencode, NULL)
+       PHP_FE(http_gzdecode, NULL)
+       PHP_FE(http_deflate, NULL)
+       PHP_FE(http_inflate, NULL)
+       PHP_FE(http_compress, NULL)
+       PHP_FE(http_uncompress, NULL)
+#endif
        
        EMPTY_FUNCTION_ENTRY
 };