summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-06-21 13:13:02 +0200
committerYann Ylavic <ylavic@apache.org>2024-06-21 13:13:02 +0200
commit6bc60b00c84bc73633f0a4a6d60bd601aed65e74 (patch)
treefde696d90f75795cbd46b853f3867e96708f9753 /server
parentmpm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO. (diff)
downloadapache2-6bc60b00c84bc73633f0a4a6d60bd601aed65e74.tar.xz
apache2-6bc60b00c84bc73633f0a4a6d60bd601aed65e74.zip
mpm_event: Follow up to r1918482: CONN_STATE_ASYNC_WAITIO > CONN_STATE_LINGER.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/mpm/event/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
index 72c1bfc6f3..0e6ce8a2ee 100644
--- a/server/mpm/event/event.c
+++ b/server/mpm/event/event.c
@@ -1187,7 +1187,7 @@ static void process_socket(apr_thread_t *thd, apr_pool_t * p, apr_socket_t * soc
else if (c->aborted) {
cs->pub.state = CONN_STATE_LINGER;
}
- if (cs->pub.state >= CONN_STATE_LINGER) {
+ if (cs->pub.state == CONN_STATE_LINGER) {
goto lingering_close;
}
}