summaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-15 13:45:21 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-15 13:45:21 -0500
commit6b1dba214db3058b143bbb4d4c4bdfee32d100f1 (patch)
tree7a1571fee4f643a0481840a1059224bd91e68724 /src/or/channel.h
parentf6a230ec9555688d61db37eb22c8823619332d83 (diff)
downloadtor-6b1dba214db3058b143bbb4d4c4bdfee32d100f1.tar.gz
tor-6b1dba214db3058b143bbb4d4c4bdfee32d100f1.zip
cmux: Make EWMA policy mandatory
To achieve this, a default value for the CircuitPriorityHalflife option was needed. We still look in the options and then the consensus but in case no value can be found, the default CircuitPriorityHalflifeMsec=30000 is used. It it the value we've been using since 0.2.4.4-alpha. This means that EWMA, our only policy, can not be disabled anymore fallbacking to the round robin algorithm. Unneeded code to control that is removed in this commit. Part of #25268 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index 0af5aed414..6cf8cd7f72 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -422,9 +422,6 @@ void channel_free_all(void);
void channel_dumpstats(int severity);
void channel_listener_dumpstats(int severity);
-/* Set the cmux policy on all active channels */
-void channel_set_cmux_policy_everywhere(circuitmux_policy_t *pol);
-
#ifdef TOR_CHANNEL_INTERNAL_
#ifdef CHANNEL_PRIVATE_