summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-05-30 11:36:19 +0200
committerYann Ylavic <ylavic@apache.org>2023-05-30 11:36:19 +0200
commit82730c954513cc08c3b74fa05dc7ace0d567dfbf (patch)
treea50c5fe46501c4d51d2854fa98a8ac1f35b8dd49 /support/ab.c
parent *) mod_proxy_http2: fix retry handling to not leak temporary errors. (diff)
downloadapache2-82730c954513cc08c3b74fa05dc7ace0d567dfbf.tar.xz
apache2-82730c954513cc08c3b74fa05dc7ace0d567dfbf.zip
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
Diffstat (limited to '')
-rw-r--r--support/ab.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/support/ab.c b/support/ab.c
index 55afda3b63..f9c6c4ffb3 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