]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
bugfix: if you find yourself reachable, then don't ever make any client
authorRoger Dingledine <arma@torproject.org>
Fri, 21 Jul 2006 07:55:35 +0000 (07:55 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 21 Jul 2006 07:55:35 +0000 (07:55 +0000)
requests (so you stop predicting circuits), then hup, then later your
IP changes, you won't think circuits are working so you won't try to
test reachability, so you won't publish.

svn:r6800

src/or/main.c

index 5941241d18298c833646fc49baa974026ac7f9b0..6623c10f79a1f6b8c31e4283945e56f2324bc128 100644 (file)
@@ -1029,7 +1029,6 @@ do_hup(void)
   or_options_t *options = get_options();
 
   log_notice(LD_GENERAL,"Received reload signal (hup). Reloading config.");
-  has_completed_circuit=0;
   if (accounting_is_enabled(options))
     accounting_record_bandwidth_usage(time(NULL));