]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Take care not to call ap_start_lingering_close from the listener thread,
authorStefan Fritsch <sf@apache.org>
Mon, 27 Feb 2012 22:04:54 +0000 (22:04 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 27 Feb 2012 22:04:54 +0000 (22:04 +0000)
commitf7656aa8cc2822c398bcd7e044a1be9490e9e1fb
tree5953c15c30c83c9600fbb5ea0225ab11f6d5d056
parent96d00b59d5c396b3af37de7a707980793ee14bbf
Take care not to call ap_start_lingering_close from the listener thread,
because it may block when flushing data to the client.

From the listener thread, do a lingering close without flushing. This is
OK because we only do this if there has been an error during write
completion or if our send buffers are empty because we are in keep-alive.

PR: 52229

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1294356 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/httpd.h
server/mpm/event/event.c