only establish intro points after we've gotten a directory

svn:r2276
This commit is contained in:
Roger Dingledine 2004-08-18 06:47:01 +00:00
parent 6e9e467b1d
commit 807a484b88

View File

@ -292,7 +292,8 @@ void circuit_build_needed_circs(time_t now) {
connection_ap_attach_pending(); connection_ap_attach_pending();
/* make sure any hidden services have enough intro points */ /* make sure any hidden services have enough intro points */
rend_services_introduce(); if(has_fetched_directory)
rend_services_introduce();
circ = circuit_get_youngest_clean_open(CIRCUIT_PURPOSE_C_GENERAL); circ = circuit_get_youngest_clean_open(CIRCUIT_PURPOSE_C_GENERAL);