You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2023/05/30 09:36:20 UTC

svn commit: r1910136 - /httpd/httpd/trunk/support/ab.c

Author: ylavic
Date: Tue May 30 09:36:19 2023
New Revision: 1910136

URL: http://svn.apache.org/viewvc?rev=1910136&view=rev
Log:
ab: STATE_CONNECTED is not used anymore.


Modified:
    httpd/httpd/trunk/support/ab.c

Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=1910136&r1=1910135&r2=1910136&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Tue May 30 09:36:19 2023
@@ -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 *w
 
             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