[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bump up header length when the dirserv reads http commands
- To: or-cvs@freehaven.net
- Subject: [or-cvs] bump up header length when the dirserv reads http commands
- From: arma@seul.org (Roger Dingledine)
- Date: Sun, 30 Nov 2003 04:47:59 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 30 Nov 2003 04:48:24 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
directory.c
Log Message:
bump up header length when the dirserv reads http commands
Nov 23 12:10:26.556 [warn] fetch_from_buf_http(): headerlen 1487 larger than 1023. Failing.
Nov 23 12:10:26.556 [warn] directory_handle_command(): input too large. Failing.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/src/or/directory.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- directory.c 20 Nov 2003 17:49:44 -0000 1.49
+++ directory.c 30 Nov 2003 09:47:57 -0000 1.50
@@ -149,7 +149,7 @@
}
static int directory_handle_command(connection_t *conn) {
- char headers[1024];
+ char headers[2048];
char body[50000]; /* XXX */
size_t dlen;
const char *cp;