sniper Wed Jun 18 17:58:08 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main SAPI.c
Log:
This broke more than fixed. Fixes e.g. max_input_time.
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.155.2.10 php4/main/SAPI.c:1.155.2.11
--- php4/main/SAPI.c:1.155.2.10 Tue Jun 3 06:08:17 2003
+++ php4/main/SAPI.c Wed Jun 18 17:58:07 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.155.2.10 2003/06/03 10:08:17 edink Exp $ */
+/* $Id: SAPI.c,v 1.155.2.11 2003/06/18 21:58:07 sniper Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -386,16 +386,6 @@
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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php