mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
provide a more useful warn message when our onion queue
gets full. svn:r5881
This commit is contained in:
parent
8fc44169e5
commit
e05d4e45d2
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue