diff options
author | Ilia Alshanetsky <iliaal@php.net> | 2012-03-22 09:13:45 -0400 |
---|---|---|
committer | Ilia Alshanetsky <iliaal@php.net> | 2012-03-22 09:13:45 -0400 |
commit | b4aea52682a6e7a8f0e2a7638ba37145cb6bf16d (patch) | |
tree | e3a5f349c129fb42c867991dbd1ecf21b174b52c /ext/soap | |
parent | 672fe54a00a97509c1ea08c450fe1597201c354d (diff) | |
download | php-git-b4aea52682a6e7a8f0e2a7638ba37145cb6bf16d.tar.gz |
Fixed bug #61423 (gzip compression fails).
Diffstat (limited to 'ext/soap')
-rw-r--r-- | ext/soap/php_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 358877df63..610c161836 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) { |