diff options
author | Roger Dingledine <arma@torproject.org> | 2012-10-05 13:35:13 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-10-05 13:35:13 -0400 |
commit | 016c21d871a8fedcd07b7aaca43e47315013c1d4 (patch) | |
tree | f53655ae74c983e59e4a791b8e0a57859646c341 /src/or/command.c | |
parent | 751b3aabb5ab88fca16834e559a8d9835831b05f (diff) | |
download | tor-016c21d871a8fedcd07b7aaca43e47315013c1d4.tar.gz tor-016c21d871a8fedcd07b7aaca43e47315013c1d4.zip |
Downgrade "Failed to hand off onionskin" messages
They're typically redundant with the "Your computer is too slow"
messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
(In retrospect, we should have fixed this bug back in ticket 1042.)
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/or/command.c b/src/or/command.c index a5ae2399f0..d04509b3ff 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -420,14 +420,7 @@ command_process_create_cell(cell_t *cell, or_connection_t *conn) /* hand it off to the cpuworkers, and then return. */ if (assign_onionskin_to_cpuworker(NULL, circ, onionskin) < 0) { -#define WARN_HANDOFF_FAILURE_INTERVAL (6*60*60) - static ratelim_t handoff_warning = - RATELIM_INIT(WARN_HANDOFF_FAILURE_INTERVAL); - char *m; - if ((m = rate_limit_log(&handoff_warning, approx_time()))) { - log_warn(LD_GENERAL,"Failed to hand off onionskin. Closing.%s",m); - tor_free(m); - } + log_debug(LD_GENERAL,"Failed to hand off onionskin. Closing."); circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_RESOURCELIMIT); return; } |