[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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));