remove connection from throttle queue when resetting

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent d5e7aa94a5
commit 7582742257
  1. 3
      src/connection.c

@ -434,7 +434,10 @@ void connection_reset_keep_alive(connection *con) {
con->stats.bytes_out_5s_diff = G_GUINT64_CONSTANT(0);
con->stats.last_avg = 0;
/* remove from timeout queue */
waitqueue_remove(&con->wrk->io_timeout_queue, &con->io_timeout_elem);
/* remove from throttle queue */
waitqueue_remove(&con->wrk->throttle_queue, &con->throttle.queue_elem);
}
void connection_free(connection *con) {

Loading…
Cancel
Save