summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-11-30 09:47:57 +0000
committerRoger Dingledine <arma@torproject.org>2003-11-30 09:47:57 +0000
commit2de4fc2b7fa595351bd413e12918eac6ad14bc44 (patch)
tree38a3e82626171a06d989df7c3a9754570fb01894 /src
parent3818776f62aa8f711dcf57a329c889178de5543e (diff)
downloadtor-2de4fc2b7fa595351bd413e12918eac6ad14bc44.tar.gz
tor-2de4fc2b7fa595351bd413e12918eac6ad14bc44.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 2c7cdf7255..039ebb7ced 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -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;