aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-01-09 14:51:56 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-21 10:31:29 -0500
commitef28afa2551a6827d85ceb00d8fe2a69d1605795 (patch)
treeb72a8826a7a8ef137e527fe616a6b42abda693b5 /src/app
parentf1498e75ddf8e493edecf940616703c36fa17de8 (diff)
downloadtor-ef28afa2551a6827d85ceb00d8fe2a69d1605795.tar.gz
tor-ef28afa2551a6827d85ceb00d8fe2a69d1605795.zip
hs-v3: Add the Onion Balance config file option
At this commit, the service reads the config file and parse it to finally set the service config object with the options. Part of #32709 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/config/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index bbf984ad08..57aa055e73 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -510,6 +510,8 @@ static const config_var_t option_vars_[] = {
LINELIST_S, RendConfigLines, NULL),
VAR("HiddenServiceEnableIntroDoSBurstPerSec",
LINELIST_S, RendConfigLines, NULL),
+ VAR("HiddenServiceOnionBalanceInstance",
+ LINELIST_S, RendConfigLines, NULL),
VAR("HiddenServiceStatistics", BOOL, HiddenServiceStatistics_option, "1"),
V(HidServAuth, LINELIST, NULL),
V(ClientOnionAuthDir, FILENAME, NULL),