summaryrefslogtreecommitdiff
path: root/ext/soap/soap.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-09-23 16:02:50 +0200
committerAnatol Belski <ab@php.net>2016-09-23 18:06:12 +0200
commitf9a699f6c3aa7acea922242a0f14731f6b829742 (patch)
tree90218107489b8add649cffed76aef0abb6036e9f /ext/soap/soap.c
parent9a2a45c1dfd5d693d8ae7b66cc977980339e5ba1 (diff)
downloadphp-git-f9a699f6c3aa7acea922242a0f14731f6b829742.tar.gz
Fixed bug #73037 SoapServer reports Bad Request when gzipped
(cherry picked from commit 410c68788ae4826807e8ced3f4a02e676142b22a)
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r--ext/soap/soap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index f0e26bf19d..f79d84c8a1 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -1598,6 +1598,8 @@ PHP_METHOD(SoapServer, handle)
if (zf) {
php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
+ SG(request_info).request_body->flags &= ~PHP_STREAM_FLAG_NO_BUFFER;
+
} else {
php_error_docref(NULL TSRMLS_CC, E_WARNING,"Can't uncompress compressed request");
return;