From 686508a04a5bed44dc8217d0ad444430fc5dcd87 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 1 Feb 2006 02:19:46 +0000 Subject: [PATCH] don't try to upload hidden service descriptors until we have established a circuit. svn:r5884 --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,