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.


svn:r867
This commit is contained in:
Roger Dingledine 2003-11-30 09:47:57 +00:00
parent 3818776f62
commit 2de4fc2b7f

View File

@ -149,7 +149,7 @@ int connection_dir_process_inbuf(connection_t *conn) {
}
static int directory_handle_command(connection_t *conn) {
char headers[1024];
char headers[2048];
char body[50000]; /* XXX */
size_t dlen;
const char *cp;