diff options
author | David Goulet <dgoulet@torproject.org> | 2019-08-20 09:10:08 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-08-26 15:53:47 +0300 |
commit | 1c4607b13254942256b869ff0044d205518cc949 (patch) | |
tree | 110e1cf28cbb240649050ec16e4b45eb8354cd66 /src | |
parent | 292e9b0c002fb695f77665d86908bb5cb1759ee6 (diff) | |
download | tor-1c4607b13254942256b869ff0044d205518cc949.tar.gz tor-1c4607b13254942256b869ff0044d205518cc949.zip |
hs-v3: Clarify comment in hs_dos.c
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/feature/hs/hs_dos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/hs/hs_dos.c b/src/feature/hs/hs_dos.c index c7d420195d..0ae36017f8 100644 --- a/src/feature/hs/hs_dos.c +++ b/src/feature/hs/hs_dos.c @@ -45,7 +45,9 @@ * introduction DoS defense. Disabled by default. */ #define HS_DOS_INTRODUCE_ENABLED_DEFAULT 0 -/* Consensus parameters. */ +/* Consensus parameters. The ESTABLISH_INTRO DoS cell extension have higher + * priority than these values. If no extension is sent, these are used only by + * the introduction point. */ static uint32_t consensus_param_introduce_rate_per_sec = HS_DOS_INTRODUCE_DEFAULT_CELL_RATE_PER_SEC; static uint32_t consensus_param_introduce_burst_per_sec = |