From: Michael Wallner Date: Thu, 5 May 2011 06:43:10 +0000 (+0000) Subject: Fixed Bug #17896 Make failed X-Git-Tag: RELEASE_1_7_1~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=930e15c0f50743465332dcf3e1036ff11ef2150e;ds=sidebyside Fixed Bug #17896 Make failed --- diff --git a/package.xml b/package.xml index 4e83521..42a2176 100644 --- a/package.xml +++ b/package.xml @@ -45,6 +45,7 @@ support. Parallel requests are available for PHP 5 and greater. * Fixed Bug #22177 (http_redirect breaks output with zlib.output_compression=on) * Fixed Bug #17806 (Segmentation fault when passing invalid url to http_get()) * Fixed logic error and possible hang in sapi_deactivate when using http_get_request_body() with a request body longer than 4096 bytes (Rob) + * Fixed Bug #17896 (Make failed) ]]> diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 456ae74..1b08ffd 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -329,6 +329,13 @@ typedef int STATUS; ZEND_ARG_PASS_INFO(0) \ ZEND_ARG_PASS_INFO(1) \ ZEND_END_ARG_INFO(); \ +\ + HTTP_STATIC_ARG_INFO \ + ZEND_BEGIN_ARG_INFO(http_arg_pass_ref_3, 0) \ + ZEND_ARG_PASS_INFO(0) \ + ZEND_ARG_PASS_INFO(0) \ + ZEND_ARG_PASS_INFO(1) \ + ZEND_END_ARG_INFO(); \ \ HTTP_STATIC_ARG_INFO \ ZEND_BEGIN_ARG_INFO(http_arg_pass_ref_4, 0) \ @@ -340,6 +347,7 @@ typedef int STATUS; # else # define HTTP_DECLARE_ARG_PASS_INFO() \ static unsigned char http_arg_pass_ref_2[] = {2, BYREF_NONE, BYREF_FORCE}; \ + static unsigned char http_arg_pass_ref_3[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE}; \ static unsigned char http_arg_pass_ref_4[] = {4, BYREF_NONE, BYREF_NONE, BYREF_NONE, BYREF_FORCE}; # endif /* ZEND_ENGINE_2 */ #endif /* HTTP_HAVE_CURL */