com php-src: Fixed handling of compressed SOAP requests: ext/soap/soap.c
| From: | Dmitry Stogov | Date: | Thu, 15 May 2014 21:29:40 +0000 |
| Subject: | com php-src: Fixed handling of compressed SOAP requests: ext/soap/soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78393@lists.php.net to get a copy of this message | ||
Commit: 9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf
Author: Dmitry Stogov <dmitry@zend.com> Fri, 16 May 2014 01:29:40 +0400
Parents: 7cb20d597f5f27e4770cb21d680010f32ddf1045
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf
Log:
Fixed handling of compressed SOAP requests
Changed paths:
M ext/soap/soap.c
Diff:
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 36c6ec5..1f7dbde 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -1572,7 +1572,7 @@ PHP_METHOD(SoapServer, handle)
zval filter_params;
array_init_size(&filter_params, 1);
- add_assoc_long_ex(&filter_params, ZEND_STRS("window"), 0x2f); /* ANY WBITS */
+ add_assoc_long_ex(&filter_params, "window", sizeof("window")-1, 0x2f);
/* ANY WBITS */
zf = php_stream_filter_create("zlib.inflate", &filter_params, 0 TSRMLS_CC);
zval_dtor(&filter_params);