diff options
author | Andrei Zmievski <andrei@php.net> | 2005-12-15 00:27:25 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2005-12-15 00:27:25 +0000 |
commit | 14df4af00e069244d1ee862a41a85ab26a5da91c (patch) | |
tree | ca23029f8488343bfb954c86ba01be4c07da1fd4 | |
parent | ca7270ffa22cfd87f343bf9be6af7742742a13b2 (diff) | |
download | php-git-14df4af00e069244d1ee862a41a85ab26a5da91c.tar.gz |
I see no reason no reason to not support chunked encoding requests.
Let's ask Apache to decode these requests for us.
-rw-r--r-- | sapi/apache/mod_php5.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |