]> granicus.if.org Git - apache/commitdiff
* support/ab.c (test): Increment count of started requests when a
authorJoe Orton <jorton@apache.org>
Wed, 12 Oct 2005 11:04:18 +0000 (11:04 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 12 Oct 2005 11:04:18 +0000 (11:04 +0000)
non-blocking connect completes; avoids case where more requests are
made than intended.

PR: 36966

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@314844 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index 50c15476cfe4169bf1a677eadc2770fb0f253862..b8c2d4192c82f7f72b77dd63b893da3f311e4380 100644 (file)
@@ -1681,6 +1681,7 @@ static void test(void)
                     }
                     else {
                         c->state = STATE_CONNECTED;
+                        started++;
 #ifdef USE_SSL
                         if (c->ssl)
                             ssl_proceed_handshake(c);