diff options
author | David Goulet <dgoulet@torproject.org> | 2017-01-13 16:00:07 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-07-13 16:49:44 -0400 |
commit | c086a59ea1fe63e38b6f83fa0c2c19bf495e977d (patch) | |
tree | 8b1dc6f9b3b4e3ea9658a93eb0406f513a0ebe01 /src/or/hs_config.h | |
parent | 93774dcb5458115652e0be5cdfaf198967b8a31e (diff) | |
download | tor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.tar.gz tor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.zip |
prop224: Configure v3 service from options
This commit adds the support in the HS subsystem for loading a service from a
set of or_options_t and put them in a staging list.
To achieve this, service accessors have been created and a global hash map
containing service object indexed by master public key. However, this is not
used for now. It's ground work for registration process.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_config.h')
-rw-r--r-- | src/or/hs_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_config.h b/src/or/hs_config.h index f4207917e5..2f8cbdc130 100644 --- a/src/or/hs_config.h +++ b/src/or/hs_config.h @@ -11,6 +11,8 @@ #include "or.h" +/* Max value for HiddenServiceMaxStreams */ +#define HS_CONFIG_MAX_STREAMS_PER_RDV_CIRCUIT 65535 /* Maximum number of intro points per version 3 services. */ #define HS_CONFIG_V3_MAX_INTRO_POINTS 20 |