com php-src: Fixed bug #61423 (gzip compression fails).: ext/soap/php_http.c
| From: | Ilia Alshanetsky | Date: | Thu, 22 Mar 2012 13:46:33 +0000 |
| Subject: | com php-src: Fixed bug #61423 (gzip compression fails).: ext/soap/php_http.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68147@lists.php.net to get a copy of this message | ||
Commit: f9f631fb765dc08e3d62073b6eb35ce1b11db0e4
Author: Ilia Alshanetsky <iliaa@php.net> Thu, 22 Mar 2012 09:46:33 -0400
Parents: 2630bc6e5fd523bc10c5b3bc064f58a03a846c89
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f9f631fb765dc08e3d62073b6eb35ce1b11db0e4
Log:
Fixed bug #61423 (gzip compression fails).
Conflicts:
NEWS
Bugs:
https://bugs.php.net/61423
Changed paths:
M ext/soap/php_http.c
Diff:
f9f631fb765dc08e3d62073b6eb35ce1b11db0e4
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index a156488..69deccd 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) {