From cf3e1b13095cbfcbda3f56f65a88a3ace3e8ad6d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 1 Mar 2008 17:47:41 +0000 Subject: [PATCH] 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'. svn:r13797 --- doc/TODO | 3 +++ src/or/directory.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/TODO b/doc/TODO index 90b6c800b7..dc97431c20 100644 --- a/doc/TODO +++ b/doc/TODO @@ -232,6 +232,9 @@ Planned for 0.2.1.x: - 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 diff --git a/src/or/directory.c b/src/or/directory.c index 6b2427b258..ebcfc70b43 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2191,8 +2191,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, 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) &&