[or-cvs] it"s safe to do parallel directory fetches/uploads

Roger Dingledine arma at seul.org
Mon Sep 22 06:22:02 UTC 2003


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

Modified Files:
	directory.c 
Log Message:
it's safe to do parallel directory fetches/uploads


Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/src/or/directory.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- directory.c	21 Sep 2003 06:15:43 -0000	1.29
+++ directory.c	22 Sep 2003 06:22:00 -0000	1.30
@@ -30,10 +30,13 @@
   if(!router) /* i guess they didn't have one in mind for me to use */
     return;
 
+#if 0 /* there's no problem with parallel get/posts now. whichever 'get' ends
+         last is the directory. */
   if(connection_get_by_type(CONN_TYPE_DIR)) { /* there's already a dir conn running */
     log_fn(LOG_DEBUG,"Canceling connect, dir conn already active.");
     return;
   }
+#endif
 
   if(command == DIR_CONN_STATE_CONNECTING_FETCH)
     log_fn(LOG_DEBUG,"initiating directory fetch");



More information about the tor-commits mailing list