Browse Source

if a directory authority declines our server descriptors because it's
not new enough, write that in the logs. might be helpful one day.


svn:r19195

Roger Dingledine 15 years ago
parent
commit
b4ceb830e0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/or/directory.c

+ 3 - 0
src/or/directory.c

@@ -1808,6 +1808,9 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
           int rejected = 0;
           if (rejected_hdr) {
             if (!strcmp(rejected_hdr, "Yes")) {
+              log_info(LD_GENERAL,
+                       "Authority '%s' declined our descriptor (not new)",
+                       ds->nickname);
               /* XXXX use this information; be sure to upload next one
                * sooner. -NM */
               /* XXXX021 On further thought, the task above implies that we're