]> granicus.if.org Git - php/commitdiff
Fixed bug #61423 (gzip compression fails).
authorIlia Alshanetsky <iliaa@php.net>
Thu, 22 Mar 2012 13:46:33 +0000 (09:46 -0400)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 22 Mar 2012 13:46:33 +0000 (09:46 -0400)
Conflicts:

NEWS

ext/soap/php_http.c

index a15648808d5ab6774063b15b58511123a55b5104..69deccde7fa849d44ab41988aab0d5f72703f362 100644 (file)
@@ -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) {