]> granicus.if.org Git - php/commitdiff
This broke more than fixed. Fixes e.g. max_input_time.
authorfoobar <sniper@php.net>
Wed, 18 Jun 2003 21:58:07 +0000 (21:58 +0000)
committerfoobar <sniper@php.net>
Wed, 18 Jun 2003 21:58:07 +0000 (21:58 +0000)
main/SAPI.c

index 78de141ea46fe012a0a833954fc369d33f43bb4c..98edd41e6d99947202fd8302a1e0002d15c6ac36 100644 (file)
@@ -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);