don't build too many circs at once

expire circs that have been building for too long


svn:r835
This commit is contained in:
Roger Dingledine
2003-11-18 07:48:00 +00:00
parent bb0e409fbd
commit a3e39b0ceb
4 changed files with 62 additions and 9 deletions
+2 -2
View File
@@ -146,8 +146,8 @@ static void command_process_created_cell(cell_t *cell, connection_t *conn) {
}
log_fn(LOG_DEBUG,"Moving to next skin.");
if(circuit_send_next_onion_skin(circ) < 0) {
log_fn(LOG_WARN,"circuit_send_next_onion_skin failed.");
circuit_close(circ);
log_fn(LOG_INFO,"circuit_send_next_onion_skin failed.");
circuit_close(circ); /* XXX push this circuit_close lower */
return;
}
} else { /* pack it into an extended relay cell, and send it. */