[or-cvs] After implementing a feature, remember to disable the error...
Nick Mathewson
nickm at seul.org
Mon Nov 29 07:59:03 UTC 2004
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv12756/src/or
Modified Files:
directory.c
Log Message:
After implementing a feature, remember to disable the error message you used to get when requesting it.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -d -r1.174 -r1.175
--- directory.c 28 Nov 2004 11:39:53 -0000 1.174
+++ directory.c 29 Nov 2004 07:59:00 -0000 1.175
@@ -785,11 +785,6 @@
!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);
More information about the tor-commits
mailing list