diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-06-30 11:12:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-06-30 11:12:46 -0400 |
commit | 2238b6320b6e33b5c661012fcbe6831b42a8e123 (patch) | |
tree | b571240691ee65a5919b48f03394cc7188b18be0 /src/feature/relay/relay_config.c | |
parent | 081d84c1de4cbf44bcac7afa0ab7417728052946 (diff) | |
download | tor-2238b6320b6e33b5c661012fcbe6831b42a8e123.tar.gz tor-2238b6320b6e33b5c661012fcbe6831b42a8e123.zip |
Refactor reachability test logging: log exactly what we launch.
Previously we had two chains of logic for reachability tests: one
for launching them, and one for telling the user that we had
launched them. Now, we simply have the launch code inform the user:
this way, we can't get out of sync.
Closes ticket 34137.
Diffstat (limited to 'src/feature/relay/relay_config.c')
-rw-r--r-- | src/feature/relay/relay_config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/relay/relay_config.c b/src/feature/relay/relay_config.c index 7b43b57423..bd1c1e8fe8 100644 --- a/src/feature/relay/relay_config.c +++ b/src/feature/relay/relay_config.c @@ -1114,8 +1114,6 @@ options_act_relay(const or_options_t *old_options) if (server_mode_turned_on) { ip_address_changed(0); - if (have_completed_a_circuit() || !any_predicted_circuits(time(NULL))) - inform_testing_reachability(); } cpuworkers_rotate_keyinfo(); } |