com php-src: fix bug #67198 (php://input regression): main/SAPI.c
| From: | Michael Wallner | Date: | Tue, 06 May 2014 10:21:43 +0000 |
| Subject: | com php-src: fix bug #67198 (php://input regression): main/SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78131@lists.php.net to get a copy of this message | ||
Commit: 7308d47c4b36403c4d5a37798446b1837090a683
Author: Michael Wallner <mike@php.net> Tue, 6 May 2014 11:59:41 +0200
Parents: 1a293e6bd9237e8dacc3ca4aec26e1a188466633
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7308d47c4b36403c4d5a37798446b1837090a683
Log:
fix bug #67198 (php://input regression)
Bugs:
https://bugs.php.net/67198
Changed paths:
M main/SAPI.c
Diff:
diff --git a/main/SAPI.c b/main/SAPI.c
index 7858779..975dd61 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;