Prechádzať zdrojové kódy

Merge branch 'bug1810' into maint-0.2.2

Roger Dingledine 14 rokov pred
rodič
commit
0235fe34d2
2 zmenil súbory, kde vykonal 7 pridanie a 1 odobranie
  1. 6 0
      changes/bug1810
  2. 1 1
      src/or/config.c

+ 6 - 0
changes/bug1810

@@ -0,0 +1,6 @@
+  o Major bugfixes:
+    - Don't decide to make a new descriptor when receiving a HUP signal.
+      This bug has caused a lot of relays to disappear from the consensus
+      periodically. Fixes the most common case of triggering bug 1810;
+      bugfix on 0.2.2.7-alpha.
+

+ 1 - 1
src/or/config.c

@@ -3809,7 +3809,7 @@ options_transition_affects_workers(or_options_t *old_options,
       old_options->ORPort != new_options->ORPort ||
       old_options->ServerDNSSearchDomains !=
                                        new_options->ServerDNSSearchDomains ||
-      old_options->SafeLogging != new_options->SafeLogging ||
+      old_options->_SafeLogging != new_options->_SafeLogging ||
       old_options->ClientOnly != new_options->ClientOnly ||
       public_server_mode(old_options) != public_server_mode(new_options) ||
       !config_lines_eq(old_options->Logs, new_options->Logs) ||