Commit:    9c5ae9954f40c82ee98038ce3e528185090e4ba1
Author:    Ilia Alshanetsky <il...@php.net>         Tue, 3 Apr 2012 08:47:00 
-0400
Parents:   827c446b62ecab6e92b93a9184ba28e581b4d882
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=9c5ae9954f40c82ee98038ce3e528185090e4ba1

Log:
Fixed bug #61423 (gzip compression fails).

Bugs:
https://bugs.php.net/61423

Changed paths:
  M  ext/soap/php_http.c


Diff:
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

Reply via email to