Commit: f9f631fb765dc08e3d62073b6eb35ce1b11db0e4 Author: Ilia Alshanetsky <il...@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) { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php