From 9ba7311c1cb812aef2c098d46c5ec888b91a8985 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 29 Nov 2004 07:59:00 +0000 Subject: [PATCH] After implementing a feature, remember to disable the error message you used to get when requesting it. svn:r3013 --- src/or/directory.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/or/directory.c b/src/or/directory.c index 4c2db63f3a..21f50f1c53 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -785,11 +785,6 @@ directory_handle_command_get(connection_t *conn, char *headers, !strcmp(url,"/tor/running-routers.z")) { /* running-routers fetch */ int deflated = !strcmp(url,"/tor/dir.z"); tor_free(url); - if (!authdir_mode(get_options())) { - /* For now, we don't cache running-routers. Reject. */ - connection_write_to_buf(answer400, strlen(answer400), conn); - return 0; - } dlen = dirserv_get_runningrouters(&cp, deflated); if (!dlen) { /* we failed to create/cache cp */ connection_write_to_buf(answer503, strlen(answer503), conn); -- 2.47.3