Commit 2de4fc2b authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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.

parent 3818776f
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment