[or-cvs] Retry pending server downloads as well as pending networkst...

Nick Mathewson nickm at seul.org
Sat Feb 11 21:29:14 UTC 2006


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

Modified Files:
	circuituse.c 
Log Message:
Retry pending server downloads as well as pending networkstatus downloads when we unexpectedly get an app connection

Index: circuituse.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -d -r1.111 -r1.112
--- circuituse.c	9 Feb 2006 05:46:48 -0000	1.111
+++ circuituse.c	11 Feb 2006 21:29:12 -0000	1.112
@@ -913,9 +913,7 @@ circuit_get_open_circ_or_launch(connecti
       router_reset_status_download_failures();
       router_reset_descriptor_download_failures();
       update_networkstatus_downloads(time(NULL));
-
-      /* XXXX011 NM This should be a generic "retry all directory fetches". */
-      directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL, 1);
+      update_router_descriptor_downloads(time(NULL));
     }
     /* the stream will be dealt with when router_have_minimum_dir_info becomes
      * 1, or when all directory attempts fail and directory_all_unreachable()



More information about the tor-commits mailing list