Pārlūkot izejas kodu

Add a comment

svn:r2530
Nick Mathewson 21 gadi atpakaļ
vecāks
revīzija
fa9c121343
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      src/or/directory.c

+ 3 - 0
src/or/directory.c

@@ -81,6 +81,9 @@ directory_post_to_dirservers(uint8_t purpose, const char *payload,
 
 
   router_get_trusted_dir_servers(&dirservers);
   router_get_trusted_dir_servers(&dirservers);
   tor_assert(dirservers);
   tor_assert(dirservers);
+  /* This tries dirservers which we believe to be down, but ultimately, that's
+   * harmless, and we may as well err on the side of getting things uploaded.
+   */
   SMARTLIST_FOREACH(dirservers, trusted_dir_server_t *, ds,
   SMARTLIST_FOREACH(dirservers, trusted_dir_server_t *, ds,
     {
     {
       /* Pay attention to fascistfirewall when we're uploading a
       /* Pay attention to fascistfirewall when we're uploading a