]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
if a directory authority declines our server descriptors because it's
authorRoger Dingledine <arma@torproject.org>
Tue, 31 Mar 2009 05:24:36 +0000 (05:24 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 31 Mar 2009 05:24:36 +0000 (05:24 +0000)
not new enough, write that in the logs. might be helpful one day.

svn:r19195

src/or/directory.c

index 892c3718f43d78674520592248f95dbd7b750d0e..d01a854aa2e04b3baf2eddbaa7d778dc98a964f4 100644 (file)
@@ -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