]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
ap_process_http_async_connection (used by the Event MPM):
authorGreg Ames <gregames@apache.org>
Fri, 26 Nov 2004 21:21:42 +0000 (21:21 +0000)
committerGreg Ames <gregames@apache.org>
Fri, 26 Nov 2004 21:21:42 +0000 (21:21 +0000)
commitb5e94158692ef51e87d3c7ea4273c26410f16797
treec21fd9651735ae6dda65fbb313db0da2c6c00b5c
parent8f4105e37a2a7ba1d9512306964f3eeea2502b19
ap_process_http_async_connection (used by the Event MPM):
fix CLOSE_WAITs/leaked connections.  The logic to deal with ap_read_request
failures got lost when merging in the HTTP pipelining fix.  If ap_read_request
fails, the connection state should get set to CONN_STATE_LINGER so the MPM will
invoke lingering close.  Test case: client sends a Connection: keepalive header
then closes the connection before the keepalive timeout pops.

Also add a comment to make the pipelining flow more obvious.

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