]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: Fix 100-continue deadlock for spooled request bodies. PR 63855.
authorYann Ylavic <ylavic@apache.org>
Fri, 18 Oct 2019 07:50:59 +0000 (07:50 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 18 Oct 2019 07:50:59 +0000 (07:50 +0000)
commitb936beed5c616a6254466f476555b70dbfadb826
tree3ca62107a0ed6d78148bcd37c1cf166ac38209b1
parent77c96847ce410d47678f78cb543b1dae7db47112
mod_proxy_http: Fix 100-continue deadlock for spooled request bodies. PR 63855.

Send "100 Continue", if needed, before fetching/blocking on the request body in
spool_reqbody_cl(), otherwise mod_proxy and the client can wait for each other,
leading to a request timeout (408).

While at it, make so that ap_send_interim_response() uses the default status
line if none is set in r->status_line.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1868576 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_http.c
server/protocol.c