diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-19 08:25:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-19 08:25:12 -0400 |
commit | d718c717a67051cb1da2a1f80c70401d0d10b374 (patch) | |
tree | 8a5fdc8466bc79e54d6b0f07d0e98bcdbf946119 /src/or/main.c | |
parent | 159ea7a88f31aee2f84cf964c0d0000a5bd98970 (diff) | |
parent | 9f217c83b0d91508af0d63f04216fa78cdbfbe1b (diff) | |
download | tor-d718c717a67051cb1da2a1f80c70401d0d10b374.tar.gz tor-d718c717a67051cb1da2a1f80c70401d0d10b374.zip |
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/main.c b/src/or/main.c index 858d6179b0..1b161336c6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1484,17 +1484,6 @@ run_scheduled_events(time_t now) dirvote_act(options, now); } - /* 2d. Cleanup excess consensus bootstrap connections every second. - * connection_dir_close_consensus_conn_if_extra() closes some connections - * that are clearly excess, but this check is more thorough. - * This only closes connections if there is more than one consensus - * connection, and at least one of those connections is already downloading - * (during bootstrap), or connecting (just after the bootstrap consensus is - * downloaded). - * It won't close any consensus connections initiated after bootstrap, - * because those attempts are made one at a time. */ - connection_dir_close_extra_consensus_conns(); - /* 3a. Every second, we examine pending circuits and prune the * ones which have been pending for more than a few seconds. * We do this before step 4, so it can try building more if |