]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: put request/response splitting checks under the same comment.
authorYann Ylavic <ylavic@apache.org>
Mon, 1 Jun 2020 15:40:03 +0000 (15:40 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 1 Jun 2020 15:40:03 +0000 (15:40 +0000)
commit10342f684711600acafbadd8bd99b7f70185e21e
tree05ede80adc954dcac0aaff6c3f8e2917388178d9
parent686b9492193fc7dd7f318f7b1b194358780d9070
mod_proxy_http: put request/response splitting checks under the same comment.

If stream_reqbody() detects a Content-Length vs bytes streamed mismatch it
means that a module's filter played bad games, such inconsistency on the client
connection would have been caught by ap_http_filter().

So move AH01087 logic to AH01086, under the same comment and log message, and
always return HTTP_INTERNAL_SERVER because the client is not the culprit here.

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