On 5/29/20 7:05 PM, yla...@apache.org wrote:
> Author: ylavic
> Date: Fri May 29 17:05:29 2020
> New Revision: 1878280
> 
> URL: http://svn.apache.org/viewvc?rev=1878280&view=rev
> Log:
> mod_proxy_http: don't strip EOS when spooling request body to file.
> 
> To prevent stream_reqbody() from sending the FILE and EOS bucket in separate
> brigades, and thus apr_file_setaside() to trigger if network congestion occurs
> with the backend, restore the EOS in spool_reqbody_cl() which was stripped
> when spooling the request body to a file.
> 
> Until APR r1878279 is released (and installed by users), apr_file_setaside()
> on a temporary file (mktemp) will simply drop the file cleanup, leaking the
> fd and inode..
> 
> This fixes BZ 64452.

This was a really tricky and nasty one. Excellent debug job. Plus it brought us 
nice improvements to .gdbinit :-)

Regards

RĂ¼diger

Reply via email to