don't try to upload hidden service descriptors until we have

established a circuit.


svn:r5884
This commit is contained in:
Roger Dingledine 2006-02-01 02:19:46 +00:00
parent dbf2e10460
commit 686508a04a

View File

@ -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,