summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-03-31 05:24:36 +0000
committerRoger Dingledine <arma@torproject.org>2009-03-31 05:24:36 +0000
commitb4ceb830e08558cfb4058731f22d79e33bc86845 (patch)
tree377cc140f3edbef08ec02bf79cf354864dc590ae
parent7170c5b4f8638115a4225f6b58470f423ace466b (diff)
downloadtor-b4ceb830e08558cfb4058731f22d79e33bc86845.tar.gz
tor-b4ceb830e08558cfb4058731f22d79e33bc86845.zip
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
-rw-r--r--src/or/directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 892c3718f4..d01a854aa2 100644
--- a/src/or/directory.c
+++ b/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