[or-cvs] resolve a docdoc

arma at seul.org arma at seul.org
Fri Sep 30 00:43:43 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	router.c 
Log Message:
resolve a docdoc


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -d -r1.211 -r1.212
--- router.c	29 Sep 2005 23:04:01 -0000	1.211
+++ router.c	30 Sep 2005 00:43:40 -0000	1.212
@@ -432,7 +432,17 @@
   return router->dir_port;
 }
 
-/**DOCDOC*/
+/** Some time has passed, or we just got new directory information.
+ * See if we currently believe our ORPort or DirPort to be
+ * unreachable. If so, launch a new test for it.
+ *
+ * For ORPort, we simply try making a circuit that ends at ourselves.
+ * Success is noticed in onionskin_answer().
+ *
+ * For DirPort, we make a connection via Tor to our DirPort and ask
+ * for our own server descriptor.
+ * Success is noticed in connection_dir_client_reached_eof().
+ */
 void
 consider_testing_reachability(void)
 {



More information about the tor-commits mailing list