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
This commit is contained in:
Roger Dingledine 2009-03-31 05:24:36 +00:00
parent 7170c5b4f8
commit b4ceb830e0

View File

@ -1808,6 +1808,9 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
int rejected = 0; int rejected = 0;
if (rejected_hdr) { if (rejected_hdr) {
if (!strcmp(rejected_hdr, "Yes")) { 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 /* XXXX use this information; be sure to upload next one
* sooner. -NM */ * sooner. -NM */
/* XXXX021 On further thought, the task above implies that we're /* XXXX021 On further thought, the task above implies that we're