Przeglądaj źródła

don't try to upload hidden service descriptors until we have
established a circuit.


svn:r5884

Roger Dingledine 19 lat temu
rodzic
commit
686508a04a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/or/main.c

+ 1 - 1
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,