[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] After implementing a feature, remember to disable the error...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] After implementing a feature, remember to disable the error...
- From: nickm@seul.org (Nick Mathewson)
- Date: Mon, 29 Nov 2004 02:59:03 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 29 Nov 2004 02:59:23 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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);