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:
Yann Ylavic
2023-07-07 15:57:32 +00:00
parent a9b1f10156
commit 661e50cf22

View File

@ -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));