summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-05-16 01:29:40 +0400
committerDmitry Stogov <dmitry@zend.com>2014-05-16 01:29:40 +0400
commit9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf (patch)
tree2600f07db5c92a5c00f05562d9d567e9816bc832 /ext
parent7cb20d597f5f27e4770cb21d680010f32ddf1045 (diff)
downloadphp-git-9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf.tar.gz
Fixed handling of compressed SOAP requests
Diffstat (limited to 'ext')
-rw-r--r--ext/soap/soap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 36c6ec5c50..1f7dbdeeac 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);