]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: Avoid 417 responses for non forwardable 100-continue. PR 65666.
authorYann Ylavic <ylavic@apache.org>
Mon, 30 May 2022 15:54:34 +0000 (15:54 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 30 May 2022 15:54:34 +0000 (15:54 +0000)
commit9a8214d08fac52dda13ecc673ade2f5152f8e9de
tree57cde6e5bfc2573de2237d52ab9f122499620993
parentf4230a5e7d27ddddad44172657356f2c5f762331
mod_proxy_http: Avoid 417 responses for non forwardable 100-continue. PR 65666.

Stop returning 417 when mod_proxy has to forward an HTTP/1.1 request with both
"Expect: 100-continue" and "force-proxy-request-1.0" set, mod_proxy can instead
handle the 100-continue by itself before forwarding the request, like in the
"Proxy100Continue Off" case.

Note that this does not change the behaviour of httpd receiving an HTTP/1.0
request with an Expect header, ap_check_request_header() will still correctly
return 417 in this case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901420 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/proxy_no_417.txt [new file with mode: 0644]
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c