From: Stefan Esser Date: Sun, 28 Nov 2004 13:34:01 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.0.3RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e9541bef5018563f020ff4860c023cfb91243b5;p=php MFH --- diff --git a/main/SAPI.c b/main/SAPI.c index 7d8c67a0bc..3bb102129c 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -290,9 +290,13 @@ SAPI_API void sapi_activate_headers_only(TSRMLS_D) /* SG(sapi_headers).http_response_code = 200; */ SG(sapi_headers).http_status_line = NULL; + SG(read_post_bytes) = 0; + SG(request_info).post_data = NULL; + SG(request_info).raw_post_data = NULL; SG(request_info).current_user = NULL; SG(request_info).current_user_length = 0; SG(request_info).no_headers = 0; + SG(request_info).post_entry = NULL; /* * It's possible to override this general case in the activate() callback,