summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-12-22 17:01:07 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-04-07 09:22:58 -0400
commite7b7e99cc72e1db14bad471fef69729bdc5eea94 (patch)
tree75ef5c0c382e5bc5b237c9db53b58ccd7a76e056 /src/or/rendservice.c
parentc71670262506cfe75bb439928ce2da2b1ebd30c4 (diff)
downloadtor-e7b7e99cc72e1db14bad471fef69729bdc5eea94.tar.gz
tor-e7b7e99cc72e1db14bad471fef69729bdc5eea94.zip
hs: Move common defines to hs_common.h
Some of those defines will be used by the v3 HS protocol so move them to a common header out of rendservice.c. This is also ground work for prop224 service implementation. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 6b40ed980a..9d4dc5bbdc 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -98,23 +98,6 @@ struct rend_service_port_config_s {
char unix_addr[FLEXIBLE_ARRAY_MEMBER];
};
-/** Try to maintain this many intro points per service by default. */
-#define NUM_INTRO_POINTS_DEFAULT 3
-/** Maximum number of intro points per service. */
-#define NUM_INTRO_POINTS_MAX 10
-/** Number of extra intro points we launch if our set of intro nodes is
- * empty. See proposal 155, section 4. */
-#define NUM_INTRO_POINTS_EXTRA 2
-
-/** If we can't build our intro circuits, don't retry for this long. */
-#define INTRO_CIRC_RETRY_PERIOD (60*5)
-/** How many times will a hidden service operator attempt to connect to
- * a requested rendezvous point before giving up? */
-#define MAX_REND_FAILURES 1
-/** How many seconds should we spend trying to connect to a requested
- * rendezvous point before giving up? */
-#define MAX_REND_TIMEOUT 30
-
/* Hidden service directory file names:
* new file names should be added to rend_service_add_filenames_to_list()
* for sandboxing purposes. */