summaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-31 08:17:00 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-31 08:17:00 +0000
commite05d4e45d28c738da33cb4f98312e5297f5c5504 (patch)
treeeb2fb69abc45f15b089d4e65bdea212240c3e675 /src/or/onion.c
parent8fc44169e59386220fbb3b8d42c1f831236ad6c3 (diff)
downloadtor-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.c6
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;
}