From: Roger Dingledine Date: Mon, 22 Sep 2003 06:22:00 +0000 (+0000) Subject: it's safe to do parallel directory fetches/uploads X-Git-Tag: tor-0.0.2pre13~154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39fd5dd405af7e0b52945cc95dd4223c66a6eb7b;p=thirdparty%2Ftor.git it's safe to do parallel directory fetches/uploads svn:r477 --- diff --git a/src/or/directory.c b/src/or/directory.c index d56898b678..b55a419409 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -30,10 +30,13 @@ void directory_initiate_command(routerinfo_t *router, int command) { 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");