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.


svn:r867
parent 3818776f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;