From 2e9541bef5018563f020ff4860c023cfb91243b5 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sun, 28 Nov 2004 13:34:01 +0000 Subject: [PATCH] MFH --- main/SAPI.c | 4 ++++ 1 file changed, 4 insertions(+) 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, -- 2.50.1