]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Follow up to r1877955: don't reuse the connection for mixed C-L / T-E requests
authorYann Ylavic <ylavic@apache.org>
Tue, 30 Jun 2020 16:05:56 +0000 (16:05 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 30 Jun 2020 16:05:56 +0000 (16:05 +0000)
commitc7972307ee1c89e6efe8091e332a4f618b7d5d43
tree958027f86bda2ed36c5693fcbc565631790a4e6b
parent6bd78e3f1383bcfb5cd5753b9fa9a17a00a60edf
Follow up to r1877955: don't reuse the connection for mixed C-L / T-E requests

Disable keepalive on the connection if we received both Content-Length and
chunked Transfer-Encoding in the request, to avoid confusion with front
intermediaries and potential further request/response splitting.

This is what we do already for mod_proxy backend connections in the same case.

While at it, replace draft httpbis links with final RFC7230's.

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