diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-14 04:50:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-14 04:50:33 +0000 |
commit | 95644480c5ecd19cea657011208eaf912efec7e9 (patch) | |
tree | c7d0ec812c87d675985bfe99542565c201121c64 /src/or/directory.c | |
parent | 55b811a259577a4b90ebd60e46d2462f368438e9 (diff) | |
download | tor-95644480c5ecd19cea657011208eaf912efec7e9.tar.gz tor-95644480c5ecd19cea657011208eaf912efec7e9.zip |
better warn message for the Content-Length attack
svn:r2495
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index e0ddcc37e9..e221a9a42d 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -858,8 +858,7 @@ static int directory_handle_command(connection_t *conn) { &headers, MAX_HEADERS_SIZE, &body, &body_len, MAX_BODY_SIZE)) { case -1: /* overflow */ - log_fn(LOG_WARN,"input too large. Failing."); -/*XXX009 needs a better warn message */ + log_fn(LOG_WARN,"Invalid input. Closing."); return -1; case 0: log_fn(LOG_DEBUG,"command not all here yet."); |