diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-31 08:17:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-31 08:17:00 +0000 |
commit | e05d4e45d28c738da33cb4f98312e5297f5c5504 (patch) | |
tree | eb2fb69abc45f15b089d4e65bdea212240c3e675 /src/or/onion.c | |
parent | 8fc44169e59386220fbb3b8d42c1f831236ad6c3 (diff) | |
download | tor-e05d4e45d28c738da33cb4f98312e5297f5c5504.tar.gz tor-e05d4e45d28c738da33cb4f98312e5297f5c5504.zip |
provide a more useful warn message when our onion queue
gets full.
svn:r5881
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index cbe7bd6730..ba50f2a015 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -57,7 +57,11 @@ onion_pending_add(circuit_t *circ) tor_assert(!ol_tail->next); if (ol_length >= get_options()->MaxOnionsPending) { - notice(LD_GENERAL,"Already have %d onions queued. Closing.", ol_length); + warn(LD_GENERAL, + "Your computer is too slow to handle this many circuit " + "creation requests! Please consider using the " + "MaxAdvertisedBandwidth config option or choosing a more " + "restricted exit policy."); tor_free(tmp); return -1; } |