mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
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:
parent
3818776f62
commit
2de4fc2b7f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user