소스 검색

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

Roger Dingledine 17 년 전
부모
커밋
cf3e1b1309
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      doc/TODO
  2. 2 2
      src/or/directory.c

+ 3 - 0
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

+ 2 - 2
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) &&