- use a more iterative approach in inflate code (instead of a retry-style)
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 730bf4b416932582ff7c001fded93be2a2e3a863..c951383007f5c83029c60a84a151d3de533f9bea 100644 (file)
--- a/http.c
+++ b/http.c
@@ -71,7 +71,7 @@ zend_function_entry http_functions[] = {
        PHP_FE(http_build_url, http_arg_pass_ref_4)
        PHP_FE(http_build_str, NULL)
 #ifndef ZEND_ENGINE_2
-       PHP_FALIAS(http_build_query, http_build_str)
+       PHP_FALIAS(http_build_query, http_build_str, NULL)
 #endif
        PHP_FE(http_negotiate_language, http_arg_pass_ref_2)
        PHP_FE(http_negotiate_charset, http_arg_pass_ref_2)
@@ -105,6 +105,8 @@ zend_function_entry http_functions[] = {
        PHP_FE(http_put_data, http_arg_pass_ref_4)
        PHP_FE(http_put_file, http_arg_pass_ref_4)
        PHP_FE(http_put_stream, http_arg_pass_ref_4)
+       PHP_FE(http_request, http_arg_pass_ref_5)
+       PHP_FE(http_request_body_encode, NULL)
 #endif
        PHP_FE(http_request_method_register, NULL)
        PHP_FE(http_request_method_unregister, NULL)