From: Ilia Alshanetsky Date: Thu, 22 Mar 2012 13:46:33 +0000 (-0400) Subject: Fixed bug #61423 (gzip compression fails). X-Git-Tag: php-5.4.1RC1~44^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9f631fb765dc08e3d62073b6eb35ce1b11db0e4;p=php Fixed bug #61423 (gzip compression fails). Conflicts: NEWS --- diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index a15648808d..69deccde7f 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -336,7 +336,7 @@ int make_http_soap_request(zval *this_ptr, n = 3; ZVAL_STRING(&func, "gzencode", 0); smart_str_append_const(&soap_headers_z,"Content-Encoding: gzip\r\n"); - ZVAL_LONG(params[2], 1); + ZVAL_LONG(params[2], 0x1f); } if (call_user_function(CG(function_table), (zval**)NULL, &func, &retval, n, params TSRMLS_CC) == SUCCESS && Z_TYPE(retval) == IS_STRING) {