summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-06-18 21:58:07 +0000
committerfoobar <sniper@php.net>2003-06-18 21:58:07 +0000
commit50b17c0f7d6a655af6bfc88c6e8c4650017f0437 (patch)
tree35e671ef109b2b22ce209c88c2d2a638da9c0c8b
parenta0853a17ed38ea22c54462061135ab11cdee1a73 (diff)
downloadphp-git-50b17c0f7d6a655af6bfc88c6e8c4650017f0437.tar.gz
This broke more than fixed. Fixes e.g. max_input_time.
-rw-r--r--main/SAPI.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 78de141ea4..98edd41e6d 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -386,16 +386,6 @@ SAPI_API void sapi_deactivate(TSRMLS_D)
zend_llist_destroy(&SG(sapi_headers).headers);
if (SG(request_info).post_data) {
efree(SG(request_info).post_data);
- } else if (SG(server_context)) {
- if(sapi_module.read_post) {
- /* make sure we've consumed all request input data */
- char dummy[SAPI_POST_BLOCK_SIZE];
- int read_bytes;
-
- while((read_bytes = sapi_module.read_post(dummy, sizeof(dummy)-1 TSRMLS_CC)) > 0) {
- SG(read_post_bytes) += read_bytes;
- }
- }
}
if (SG(request_info).raw_post_data) {
efree(SG(request_info).raw_post_data);