httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55475] mod_proxy breaks HTTP chunked transfer coding
Date Fri, 13 Sep 2013 10:27:46 GMT

Yann Ylavic <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Yann Ylavic <> ---
Created attachment 30830
Detect incomplete body in HTTP input filter and return APR_INCOMPLETE

The problem is that mod_proxy_http stops forwarding backend's data when it gets

Since it does not know anything about the state of the body it forwards
(http_input_filter's BODY_CHUNK/BODY_LENGTH/BODY_NONE), APR_EOF may be a
legitimate end-of-body returned by the core_input_filter. Hence it can't do
much better at its level.

IMHO, the fix has to be in the http_input_filter.

For an output filter of mine (2.2.x) taking care about the truncated response
body, I use the attached patch which does the job , and is quite simple...

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message