From 14df4af00e069244d1ee862a41a85ab26a5da91c Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 15 Dec 2005 00:27:25 +0000 Subject: [PATCH] I see no reason no reason to not support chunked encoding requests. Let's ask Apache to decode these requests for us. --- sapi/apache/mod_php5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index 4ac60b2742..ead048ef52 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -593,7 +593,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename) /* Apache 1.2 has a more complex mechanism for reading POST data */ #if MODULE_MAGIC_NUMBER > 19961007 - if ((retval = setup_client_block(r, REQUEST_CHUNKED_ERROR))) { + if ((retval = setup_client_block(r, REQUEST_CHUNKED_DECHUNK))) { zend_try { zend_ini_deactivate(TSRMLS_C); } zend_end_try(); -- 2.50.1