[or-cvs] r13797: we should consider dumping the v1 directory stuff from 0.2.1 (in tor/trunk: doc src/or)

arma at seul.org arma at seul.org
Sat Mar 1 17:47:43 UTC 2008


Author: arma
Date: 2008-03-01 12:47:41 -0500 (Sat, 01 Mar 2008)
New Revision: 13797

Modified:
   tor/trunk/doc/TODO
   tor/trunk/src/or/directory.c
Log:
we should consider dumping the v1 directory stuff from 0.2.1.x.
perhaps we would even replace the v1 directory with a static
page saying 'this is a tor server, let me tell you what that is'.


Modified: tor/trunk/doc/TODO
===================================================================
--- tor/trunk/doc/TODO	2008-03-01 17:42:38 UTC (rev 13796)
+++ tor/trunk/doc/TODO	2008-03-01 17:47:41 UTC (rev 13797)
@@ -232,6 +232,9 @@
     - Improve unit test coverage
     - Logging domains.
 
+  - get rid of the v1 directory stuff (making, serving, and caching).
+    - perhaps replace it with a "this is a tor server" stock webpage.
+
   - bridge communities with local bridge authorities:
     - clients who have a password configured decide to ask their bridge
       authority for a networkstatus

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2008-03-01 17:42:38 UTC (rev 13796)
+++ tor/trunk/src/or/directory.c	2008-03-01 17:47:41 UTC (rev 13797)
@@ -2191,8 +2191,8 @@
     cached_dir_t *d = dirserv_get_directory();
 
     if (!d) {
-      log_notice(LD_DIRSERV,"Client asked for the mirrored directory, but we "
-                 "don't have a good one yet. Sending 503 Dir not available.");
+      log_info(LD_DIRSERV,"Client asked for the mirrored directory, but we "
+               "don't have a good one yet. Sending 503 Dir not available.");
       write_http_status_line(conn, 503, "Directory unavailable");
       /* try to get a new one now */
       if (!already_fetching_directory(DIR_PURPOSE_FETCH_DIR) &&



More information about the tor-commits mailing list