summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-11-18 07:48:00 +0000
committerRoger Dingledine <arma@torproject.org>2003-11-18 07:48:00 +0000
commita3e39b0ceb4478339f9903ab6e01a3984e208d42 (patch)
treea020d00d6914aef7d85afb17d4256203e4667dce /src/or/command.c
parentbb0e409fbd9416c17b8a4a071b6c8404580077ea (diff)
downloadtor-a3e39b0ceb4478339f9903ab6e01a3984e208d42.tar.gz
tor-a3e39b0ceb4478339f9903ab6e01a3984e208d42.zip
don't build too many circs at once
expire circs that have been building for too long svn:r835
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c
index b3302a301f..fa83d23c83 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -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. */