summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-01 02:19:46 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-01 02:19:46 +0000
commit686508a04a5bed44dc8217d0ad444430fc5dcd87 (patch)
tree9c7975ac055f601886cc5487906d1a75f71eb5ed /src
parentdbf2e104609ba4f4f48766c5f59b87ee67f8ee8c (diff)
downloadtor-686508a04a5bed44dc8217d0ad444430fc5dcd87.tar.gz
tor-686508a04a5bed44dc8217d0ad444430fc5dcd87.zip
don't try to upload hidden service descriptors until we have
established a circuit. svn:r5884
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index e8c4ff3148..4ca4be40f0 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -895,7 +895,7 @@ run_scheduled_events(time_t now)
circuit_close_all_marked();
/** 7. And upload service descriptors if necessary. */
- if (have_dir_info && !we_are_hibernating())
+ if (has_completed_circuit && !we_are_hibernating())
rend_consider_services_upload(now);
/** 8. and blow away any connections that need to die. have to do this now,