commit 1c4607b13254942256b869ff0044d205518cc949
parent 292e9b0c002fb695f77665d86908bb5cb1759ee6
Author: David Goulet <dgoulet@torproject.org>
Date: Tue, 20 Aug 2019 09:10:08 -0400
hs-v3: Clarify comment in hs_dos.c
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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 =