From c735220a0b4c2c7852145fe8e9bf2584d4901d1f Mon Sep 17 00:00:00 2001 From: U+039b <*@0x39b.fr> Date: Thu, 14 Jul 2016 18:46:37 +0200 Subject: Remove bufferevents dead code Signed-off-by: U+039b <*@0x39b.fr> --- src/or/config.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/or/config.c') 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()); -- cgit v1.2.3-54-g00ecf