]> granicus.if.org Git - php/commitdiff
fix bug #67198 (php://input regression)
authorMichael Wallner <mike@php.net>
Tue, 6 May 2014 09:59:41 +0000 (11:59 +0200)
committerMichael Wallner <mike@php.net>
Tue, 6 May 2014 10:21:43 +0000 (12:21 +0200)
main/SAPI.c

index 7858779a629f4849c8261fec2bbc8797956d426d..975dd618bdb36e70ffc6fc4d7fed32d3fbcaea43 100644 (file)
@@ -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;