From: Yann Ylavic Date: Tue, 30 May 2023 09:36:19 +0000 (+0000) Subject: ab: STATE_CONNECTED is not used anymore. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82730c954513cc08c3b74fa05dc7ace0d567dfbf;p=thirdparty%2Fapache%2Fhttpd.git ab: STATE_CONNECTED is not used anymore. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910136 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 55afda3b63e..f9c6c4ffb37 100644 --- a/support/ab.c +++ b/support/ab.c @@ -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