Explorar o código

Merge remote-tracking branch 'public/bug4241'

Nick Mathewson %!s(int64=10) %!d(string=hai) anos
pai
achega
3ac426afe8
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 0
      changes/bug4241
  2. 1 1
      src/or/rendservice.c

+ 3 - 0
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.

+ 1 - 1
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