[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r19195: {tor} if a directory authority declines our server descriptors bec (tor/trunk/src/or)



Author: arma
Date: 2009-03-31 01:24:36 -0400 (Tue, 31 Mar 2009)
New Revision: 19195

Modified:
   tor/trunk/src/or/directory.c
Log:
if a directory authority declines our server descriptors because it's
not new enough, write that in the logs. might be helpful one day.


Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2009-03-31 04:03:37 UTC (rev 19194)
+++ tor/trunk/src/or/directory.c	2009-03-31 05:24:36 UTC (rev 19195)
@@ -1808,6 +1808,9 @@
           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