]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event: don't reset connections after lingering close timeout
authorYann Ylavic <ylavic@apache.org>
Wed, 4 Nov 2020 00:32:50 +0000 (00:32 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 4 Nov 2020 00:32:50 +0000 (00:32 +0000)
commit6d70c8112e601c0a709e28c74c53ccaa38b73d1b
tree64a8dfea8a112d993db730bd4e241a868411fb64
parent370757e965b8a63e49fb21e3d1e414c13de36005
mpm_event: don't reset connections after lingering close timeout

While httpd is supposed to do lingering close for incoming data, it has no
control anyway over outgoing/pending data once they are handled by the
system.

So don't reset the connection after lingering close times out, otherwise the
system won't do its own lingering close to flush un-acked data.

The connection reset was introduced by r1802875 and backported to 2.4.28.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883097 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/event_abort_socket_no_reset.txt [new file with mode: 0644]
server/mpm/event/event.c