From b2553bfba28b2e26f09041a3d78fa39c35fd4ac8 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Thu, 3 Feb 2022 12:01:23 +0000 Subject: Use path type hint for Vegas queue parameters. These parameters will vary depending on path length, especially for onions. --- src/app/config/config.c | 1 + src/app/config/or_options_st.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src/app') diff --git a/src/app/config/config.c b/src/app/config/config.c index 05bd96fc6a..15addd5be4 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -676,6 +676,7 @@ static const config_var_t option_vars_[] = { V(UseMicrodescriptors, AUTOBOOL, "auto"), OBSOLETE("UseNTorHandshake"), VAR("__AlwaysCongestionControl", BOOL, AlwaysCongestionControl, "0"), + VAR("__SbwsExit", BOOL, SbwsExit, "0"), V_IMMUTABLE(User, STRING, NULL), OBSOLETE("UserspaceIOCPBuffers"), OBSOLETE("V1AuthoritativeDirectory"), diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h index a1ef7a8cf8..290a2bb9b4 100644 --- a/src/app/config/or_options_st.h +++ b/src/app/config/or_options_st.h @@ -604,6 +604,9 @@ struct or_options_t { /** Boolean: Switch to override consensus to enable congestion control */ int AlwaysCongestionControl; + /** Boolean: Switch to specify this is an sbws measurement exit */ + int SbwsExit; + int RephistTrackTime; /**< How many seconds do we keep rephist info? */ /** Should we always fetch our dir info on the mirror schedule (which * means directly from the authorities) no matter our other config? */ -- cgit v1.2.3-54-g00ecf