mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
I see no reason no reason to not support chunked encoding requests.
Let's ask Apache to decode these requests for us.
This commit is contained in:
parent
ca7270ffa2
commit
14df4af00e
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
/* Apache 1.2 has a more complex mechanism for reading POST data */
|
||||||
#if MODULE_MAGIC_NUMBER > 19961007
|
#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_try {
|
||||||
zend_ini_deactivate(TSRMLS_C);
|
zend_ini_deactivate(TSRMLS_C);
|
||||||
} zend_end_try();
|
} zend_end_try();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue