aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-22 06:22:00 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-22 06:22:00 +0000
commit39fd5dd405af7e0b52945cc95dd4223c66a6eb7b (patch)
treee33f17225b0e4ec9e249c51a561c0a52c2183610
parent9fe1ed26ff97668845707adef1eb7aad155ec9be (diff)
downloadtor-39fd5dd405af7e0b52945cc95dd4223c66a6eb7b.tar
tor-39fd5dd405af7e0b52945cc95dd4223c66a6eb7b.tar.gz
it's safe to do parallel directory fetches/uploads
svn:r477
-rw-r--r--src/or/directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index d56898b67..b55a41940 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");