From: Nick Mathewson Date: Wed, 2 Apr 2014 19:36:13 +0000 (-0400) Subject: Drop MAX_REND_FAILURES to 8 X-Git-Tag: tor-0.2.5.4-alpha~67^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f59d6e2d81cea3005e488e31f824ff1b9b303c4;p=thirdparty%2Ftor.git Drop MAX_REND_FAILURES to 8 --- diff --git a/changes/bug4241 b/changes/bug4241 new file mode 100644 index 0000000000..a7d34bf6a3 --- /dev/null +++ b/changes/bug4241 @@ -0,0 +1,3 @@ + o Minor bugfixes: + - Only retry attempts to connect to a chosen rendezvous point 8 times, + not 30. Fixes bug #4241; bugfix on 0.1.0.1-rc. diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 500efaf208..abd78da73a 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -82,7 +82,7 @@ typedef struct rend_service_port_config_t { #define MAX_INTRO_CIRCS_PER_PERIOD 10 /** How many times will a hidden service operator attempt to connect to * a requested rendezvous point before giving up? */ -#define MAX_REND_FAILURES 30 +#define MAX_REND_FAILURES 8 /** How many seconds should we spend trying to connect to a requested * rendezvous point before giving up? */ #define MAX_REND_TIMEOUT 30