mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
fix bug #67198 (php://input regression)
This commit is contained in:
parent
4df71647b6
commit
86b6bfb9b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user