aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-02-09 00:22:43 +0000
committerRoger Dingledine <arma@torproject.org>2007-02-09 00:22:43 +0000
commitb3ac3acefcdb632ed84facaf4f59118d54d53df4 (patch)
tree11045a0bc7e6b9124e53653e5bb1356c77e8ee6f
parent0ad7dec59adb2f1f9cd1e09ade57c89a7fcedad6 (diff)
downloadtor-b3ac3acefcdb632ed84facaf4f59118d54d53df4.tar
tor-b3ac3acefcdb632ed84facaf4f59118d54d53df4.tar.gz
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
-rw-r--r--ChangeLog2
-rw-r--r--src/or/config.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e8b9b7487..1b49fb3f0 100644
--- a/ChangeLog
+++ b/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
diff --git a/src/or/config.c b/src/or/config.c
index 0d4832540..81874bc54 100644
--- a/src/or/config.c
+++ b/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;