[or-cvs] bugfix: if you find yourself reachable, then don"t ever mak...

arma at seul.org arma at seul.org
Fri Jul 21 07:55:37 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv27438

Modified Files:
	main.c 
Log Message:
bugfix: if you find yourself reachable, then don't ever make any client
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.


Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.652
retrieving revision 1.653
diff -u -p -d -r1.652 -r1.653
--- main.c	18 Jul 2006 02:24:01 -0000	1.652
+++ main.c	21 Jul 2006 07:55:35 -0000	1.653
@@ -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));
 



More information about the tor-commits mailing list