diff options
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 0ff097f131..98dd388ba2 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -68,7 +68,8 @@ int connection_cpu_process_inbuf(connection_t *conn) { } num_cpuworkers--; spawn_enough_cpuworkers(); /* try to regrow. hope we don't end up spinning. */ - return -1; + connection_mark_for_close(conn,0); + return 0; } if(conn->state == CPUWORKER_STATE_BUSY_ONION) { |