com php-src: fix bug #67198 (php://input regression): main/SAPI.c

From: Date: Tue, 06 May 2014 10:22:08 +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-78132@lists.php.net to get a copy of this message
Commit: 86b6bfb9b7ebfd96f034d8a44ae56628c10154c2 Author: Michael Wallner <mike@php.net> Tue, 6 May 2014 11:59:41 +0200 Parents: 4df71647b6f191b72eb97a4b5e0fa40dc8f7558a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=86b6bfb9b7ebfd96f034d8a44ae56628c10154c2 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 8c347cb...44b6b59 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;

« previous php.cvs (#78132) next »