https://issues.apache.org/bugzilla/show_bug.cgi?id=55475

Yann Ylavic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Yann Ylavic <[email protected]> ---
Created attachment 30830
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30830&action=edit
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
APR_EOF.

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to