[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9540: If we start a server with ClientOnly 1, then set ClientOnly (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9540: If we start a server with ClientOnly 1, then set ClientOnly (in tor/trunk: . src/or)
- From: arma@xxxxxxxx
- Date: Thu, 8 Feb 2007 19:22:50 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Thu, 08 Feb 2007 19:23:13 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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;