aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorU+039b <*@0x39b.fr>2016-07-14 18:46:37 +0200
committerU+039b <*@0x39b.fr>2016-07-14 18:46:37 +0200
commitc735220a0b4c2c7852145fe8e9bf2584d4901d1f (patch)
treeec0e221422b4336798eb6fd6491f5dae0e56493d /src/or/config.c
parent3ac434104af0a40e75bfb5116046eae1cd51f6d3 (diff)
downloadtor-c735220a0b4c2c7852145fe8e9bf2584d4901d1f.tar.gz
tor-c735220a0b4c2c7852145fe8e9bf2584d4901d1f.zip
Remove bufferevents dead code
Signed-off-by: U+039b <*@0x39b.fr>
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 55be06cf00..5a59e2adea 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1674,17 +1674,6 @@ options_act(const or_options_t *old_options)
if (accounting_is_enabled(options))
configure_accounting(time(NULL));
-#ifdef USE_BUFFEREVENTS
- /* If we're using the bufferevents implementation and our rate limits
- * changed, we need to tell the rate-limiting system about it. */
- if (!old_options ||
- old_options->BandwidthRate != options->BandwidthRate ||
- old_options->BandwidthBurst != options->BandwidthBurst ||
- old_options->RelayBandwidthRate != options->RelayBandwidthRate ||
- old_options->RelayBandwidthBurst != options->RelayBandwidthBurst)
- connection_bucket_init();
-#endif
-
old_ewma_enabled = cell_ewma_enabled();
/* Change the cell EWMA settings */
cell_ewma_set_scale_factor(options, networkstatus_get_latest_consensus());