]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: follow up to r1836588: avoid 100-continue responses from core.
authorYann Ylavic <ylavic@apache.org>
Wed, 25 Jul 2018 16:33:44 +0000 (16:33 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 25 Jul 2018 16:33:44 +0000 (16:33 +0000)
commit955983259576764ad68ee749e140e9c1801e34dc
treee8363dda120e1c2f9f84e1e353163a49f7775428
parente12641c00c2172b5af950dc0e9a0554e9e7f0e3c
mod_proxy_http: follow up to r1836588: avoid 100-continue responses from core.

When mod_proxy_http handles end-to-end "100 continue", it can't let
ap_http_filter() send its own interim response whenever the body is read.

So save/restore r->expecting_100 before/after handling the request, and use
req->expecting_100 internally (including to restore r->expecting appropriately).

While at it, add comments and debug logs about 100 continue handling, and
fill in missing APLOGNO()s from r1836588.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836648 13f79535-47bb-0310-9956-ffa450edef68
docs/log-message-tags/next-number
modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c