diff options
author | Stefan Esser <sesser@php.net> | 2004-11-28 13:32:29 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2004-11-28 13:32:29 +0000 |
commit | c02b2d2d459d8c6fbed1351740b5f0c16142b08a (patch) | |
tree | b69a941cc8bc1d79b03b33dd39da9eefeee02ad9 /main/SAPI.c | |
parent | 9fb623c312bc07a235061a1ea1f0e3f28145500b (diff) | |
download | php-git-c02b2d2d459d8c6fbed1351740b5f0c16142b08a.tar.gz |
Fixed: Correctly Initialize fields
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 5c1dfe4373..a729eb5c4f 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -290,10 +290,14 @@ 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; + SG(global_request_time) = 0; /* * It's possible to override this general case in the activate() callback, @@ -332,6 +336,7 @@ SAPI_API void sapi_activate(TSRMLS_D) 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; SG(global_request_time) = 0; /* It's possible to override this general case in the activate() callback, if |