summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2012-04-03 08:47:00 -0400
committerIlia Alshanetsky <iliaa@php.net>2012-04-03 08:47:00 -0400
commit9c5ae9954f40c82ee98038ce3e528185090e4ba1 (patch)
tree1d1384f7e7b82f8cc8ca9449804d6ea9308a55cb /ext
parent827c446b62ecab6e92b93a9184ba28e581b4d882 (diff)
downloadphp-git-9c5ae9954f40c82ee98038ce3e528185090e4ba1.tar.gz
Fixed bug #61423 (gzip compression fails).
Diffstat (limited to 'ext')
-rw-r--r--ext/soap/php_http.c2
1 files changed, 1 insertions, 1 deletions
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) {