aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2021-11-16 22:01:54 +0000
committerMike Perry <mikeperry-git@torproject.org>2022-02-22 19:28:34 +0000
commitb2789ae72aab35443c2988d930495b8efa870f3e (patch)
tree219108ea2f034fc0b7026c0de5af4cc725f7733d /src/app/config/config.c
parenta0eeadfba2c1d7d33214286ef7697971120cbe16 (diff)
downloadtor-b2789ae72aab35443c2988d930495b8efa870f3e.tar.gz
tor-b2789ae72aab35443c2988d930495b8efa870f3e.zip
Add hidden torrc option to always try CC negotiation.
This is for public network testing and for sbws. Should not otherwise be used, hence it is an undocumented __option. The option deliberately does not allow force-disabling congestion control, as this is bad for queueing and fairness.
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 8df5275cc6..05bd96fc6a 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -675,6 +675,7 @@ static const config_var_t option_vars_[] = {
V(VanguardsLiteEnabled, AUTOBOOL, "auto"),
V(UseMicrodescriptors, AUTOBOOL, "auto"),
OBSOLETE("UseNTorHandshake"),
+ VAR("__AlwaysCongestionControl", BOOL, AlwaysCongestionControl, "0"),
V_IMMUTABLE(User, STRING, NULL),
OBSOLETE("UserspaceIOCPBuffers"),
OBSOLETE("V1AuthoritativeDirectory"),