diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-16 20:00:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-16 20:00:50 +0000 |
commit | ae7576a19e5294b3c586363397a45585e2a523bc (patch) | |
tree | eda068d06859ae04ab12ae4dd488f90e043f1f5d /src/or/directory.c | |
parent | d4aaffc6e7af3577696f55a1ffbcb6a2f98fbddb (diff) | |
download | tor-ae7576a19e5294b3c586363397a45585e2a523bc.tar.gz tor-ae7576a19e5294b3c586363397a45585e2a523bc.zip |
r11825@catbus: nickm | 2007-02-16 14:04:36 -0500
Fix DOCDOC items in or.h; rename a couple of macros to be more sensible.
svn:r9593
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 02164109b8..5a709000ac 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -865,7 +865,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn) switch (fetch_from_buf_http(conn->_base.inbuf, &headers, MAX_HEADERS_SIZE, - &body, &body_len, MAX_DIR_SIZE, + &body, &body_len, MAX_DIR_DL_SIZE, allow_partial)) { case -1: /* overflow */ log_warn(LD_PROTOCOL, @@ -1911,7 +1911,7 @@ directory_handle_command(dir_connection_t *conn) switch (fetch_from_buf_http(conn->_base.inbuf, &headers, MAX_HEADERS_SIZE, - &body, &body_len, MAX_BODY_SIZE, 0)) { + &body, &body_len, MAX_DIR_UL_SIZE, 0)) { case -1: /* overflow */ log_warn(LD_DIRSERV, "Invalid input from address '%s'. Closing.", |