processing is completed, avoiding orphaned callback pointers.
[Brett Gervasoni <brettg senseofsecurity.com>, Jeff Trawick]
+ *) ab: fix number of requests sent by ab when keepalive is enabled. PR 48497.
+ [Bryn Dole <dole blekko.com>]
+
*) Log an error for failures to read a chunk-size, and return 408 instead of
413 when this is due to a read timeout. This change also fixes some cases
of two error documents being sent in the response for the same scenario.
static void write_request(struct connection * c)
{
+ if (started >= requests) {
+ return;
+ }
+
do {
apr_time_t tnow;
apr_size_t l = c->rwrite;
} while (c->rwrite);
c->endwrite = lasttime = apr_time_now();
+ started++;
set_conn_state(c, STATE_READ);
}
/* connected first time */
set_conn_state(c, STATE_CONNECTED);
- started++;
#ifdef USE_SSL
if (c->ssl) {
ssl_proceed_handshake(c);
}
else {
set_conn_state(c, STATE_CONNECTED);
- started++;
#ifdef USE_SSL
if (c->ssl)
ssl_proceed_handshake(c);