summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2014-05-06 11:59:41 +0200
committerMichael Wallner <mike@php.net>2014-05-06 12:21:43 +0200
commit7308d47c4b36403c4d5a37798446b1837090a683 (patch)
treefa5f0582a3736cbca0af4d267c1c5644b73daab3 /main
parent1a293e6bd9237e8dacc3ca4aec26e1a188466633 (diff)
downloadphp-git-7308d47c4b36403c4d5a37798446b1837090a683.tar.gz
fix bug #67198 (php://input regression)
Diffstat (limited to 'main')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 7858779a62..975dd618bd 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -462,7 +462,7 @@ SAPI_API void sapi_activate(TSRMLS_D)
SG(request_info).post_entry = NULL;
SG(request_info).proto_num = 1000; /* Default to HTTP 1.0 */
SG(global_request_time) = 0;
-
+ SG(post_read) = 0;
/* It's possible to override this general case in the activate() callback, if necessary. */
if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) {
SG(request_info).headers_only = 1;