]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ab: STATE_CONNECTED is not used anymore.
authorYann Ylavic <ylavic@apache.org>
Tue, 30 May 2023 09:36:19 +0000 (09:36 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 30 May 2023 09:36:19 +0000 (09:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910136 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index 55afda3b63ea6ff6c3677b5952113fbaac516ca6..f9c6c4ffb3760d39d23be4c9b45da3813574a9ba 100644 (file)
@@ -268,7 +268,6 @@ typedef enum {
     STATE_CONNECTING,           /* TCP connect initiated, but we don't
                                  * know if it worked yet
                                  */
-    STATE_CONNECTED,            /* we know TCP connect completed */
 #ifdef USE_SSL
     STATE_HANDSHAKE,            /* in the handshake phase */
 #endif
@@ -2405,13 +2404,6 @@ static void worker_test(struct worker *worker)
 
             rtnev = pollfd->rtnevents;
 
-#ifdef USE_SSL
-            if (c->state == STATE_CONNECTED && c->ssl && SSL_in_init(c->ssl)) {
-                ssl_proceed_handshake(c);
-                continue;
-            }
-#endif
-
             /*
              * Notes: APR_POLLHUP is set after FIN is received on some
              * systems, so treat that like APR_POLLIN so that we try to read