mirror of
https://github.com/apache/httpd.git
synced 2025-08-16 16:17:23 +00:00
ab: Ignore the delay if it's larger than the timeout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -2457,7 +2457,9 @@ static void worker_test(struct worker *worker)
|
||||
start_connection(c);
|
||||
}
|
||||
else {
|
||||
t = c->delay - now;
|
||||
if (t > c->delay - now) {
|
||||
t = c->delay - now;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} while (!APR_RING_EMPTY(&worker->delayed_ring, connection, delay_list));
|
||||
|
Reference in New Issue
Block a user