aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug42413
-rw-r--r--src/or/rendservice.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug4241 b/changes/bug4241
new file mode 100644
index 000000000..a7d34bf6a
--- /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 500efaf20..abd78da73 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