]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mpm_event: Follow up to r1918482: CONN_STATE_ASYNC_WAITIO > CONN_STATE_LINGER.
authorYann Ylavic <ylavic@apache.org>
Fri, 21 Jun 2024 11:13:02 +0000 (11:13 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 21 Jun 2024 11:13:02 +0000 (11:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918483 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index 72c1bfc6f3edb32746cf88325367ba88087307ca..0e6ce8a2ee87df69d0b657657b1240f6c866e1ef 100644 (file)
@@ -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;
         }
     }