Prechádzať zdrojové kódy

If we start a server with ClientOnly 1, then set ClientOnly to 0
and hup, stop triggering an assert based on an empty onion_key.


svn:r9540

Roger Dingledine 17 rokov pred
rodič
commit
b3ac3acefc
2 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 2 0
      ChangeLog
  2. 1 0
      src/or/config.c

+ 2 - 0
ChangeLog

@@ -19,6 +19,8 @@ Changes in version 0.1.2.8-alpha - 2007-??-??
       guess that an unrecognized directory will have the average bandwidth
       from all known directories, not that it will have the average
       bandwidth from those directories earlier than it on the list.
+    - If we start a server with ClientOnly 1, then set ClientOnly to 0
+      and hup, stop triggering an assert based on an empty onion_key.
 
   o Minor features:
     - Warn the user when an application uses the obsolete binary v0

+ 1 - 0
src/or/config.c

@@ -2829,6 +2829,7 @@ options_transition_affects_workers(or_options_t *old_options,
       old_options->ServerDNSSearchDomains !=
                                        new_options->ServerDNSSearchDomains ||
       old_options->SafeLogging != new_options->SafeLogging ||
+      old_options->ClientOnly != new_options->ClientOnly ||
       !config_lines_eq(old_options->Logs, new_options->Logs))
     return 1;