]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Simpler connection close logic if discarding the request body fails.
authorYann Ylavic <ylavic@apache.org>
Mon, 7 Mar 2022 13:19:37 +0000 (13:19 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 7 Mar 2022 13:19:37 +0000 (13:19 +0000)
commit0cb63842869cc2d9c02aba63c2122c685ac88d76
tree23c3a4c3ea9de72fc8d240360bb23aaafad2ba63
parent508324a39a9ed63ba02800488fb2c9c2871ffc9d
core: Simpler connection close logic if discarding the request body fails.

If ap_discard_request_body() sets AP_CONN_CLOSE by itself it simplifies and
allows to consolidate end_output_stream() and error_output_stream().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898683 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/discard_body.diff [new file with mode: 0644]
modules/http/http_filters.c
server/protocol.c