]> 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:22:08 +0000 (12:22 +0200)
main/SAPI.c

index 8c347cb6d4576bef35339dd050f950043c6d6ac1..44b6b590f2ebc9ef9dcac5d42dcb09ac94dcf4e7 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;