Commit:    8d0760f38a9d3dabb3a31d1d47f85827d27d0db4
Author:    Ilia Alshanetsky <il...@php.net>         Sat, 24 Mar 2012 12:27:55 
-0400
Parents:   cb54532b7f63fb9f223e3b39116db86191d6bafe
Branches:  PHP-5.3

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

Log:
Revert incorrect fix

Changed paths:
  M  NEWS
  M  ext/soap/php_http.c


Diff:
8d0760f38a9d3dabb3a31d1d47f85827d27d0db4
diff --git a/NEWS b/NEWS
index fa36358..d278883 100644
--- a/NEWS
+++ b/NEWS
@@ -93,7 +93,6 @@ PHP                                                           
             NEWS
 
 - SOAP
   . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
-  . Fixed bug #61423 (gzip compression fails). (Ilia)
   . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
     User-Agent header). (carloschilazo at gmail dot com)
   . Fixed bug #60842, #51775 (Chunked response parsing error when 
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 610c161..358877d 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], 0x1f);
+                               ZVAL_LONG(params[2], 1);
            }
                        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