[or-cvs] r9540: If we start a server with ClientOnly 1, then set ClientOnly (in tor/trunk: . src/or)

arma at seul.org arma at seul.org
Fri Feb 9 00:22:50 UTC 2007


Author: arma
Date: 2007-02-08 19:22:43 -0500 (Thu, 08 Feb 2007)
New Revision: 9540

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/config.c
Log:
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.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-02-09 00:21:41 UTC (rev 9539)
+++ tor/trunk/ChangeLog	2007-02-09 00:22:43 UTC (rev 9540)
@@ -19,6 +19,8 @@
       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

Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-02-09 00:21:41 UTC (rev 9539)
+++ tor/trunk/src/or/config.c	2007-02-09 00:22:43 UTC (rev 9540)
@@ -2829,6 +2829,7 @@
       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;
 



More information about the tor-commits mailing list