]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
only establish intro points after we've gotten a directory
authorRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 06:47:01 +0000 (06:47 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 06:47:01 +0000 (06:47 +0000)
svn:r2276

src/or/circuituse.c

index e81005fd8749f0756f05584c141336056e19f463..993ef2b18a45552a3abfc2a0c7f57b1223f6d5c1 100644 (file)
@@ -292,7 +292,8 @@ void circuit_build_needed_circs(time_t now) {
   connection_ap_attach_pending();
 
   /* 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);