From 9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 16 May 2014 01:29:40 +0400 Subject: Fixed handling of compressed SOAP requests --- ext/soap/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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); -- cgit v1.2.1