diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-14 02:26:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-14 02:26:13 +0000 |
commit | 998cf8d6222607113fbd8fa8563d507a808ee869 (patch) | |
tree | 2e3f8dfbf46c60a659b75f715a65b8266f5377a0 /src/or/connection_or.c | |
parent | 11b76b9ca5b39eeeb4fcff1593db2efe14cc5827 (diff) | |
download | tor-998cf8d6222607113fbd8fa8563d507a808ee869.tar.gz tor-998cf8d6222607113fbd8fa8563d507a808ee869.zip |
Try to extract as many descriptors as possible from truncated http responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
svn:r5249
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 6d3fad21d0..466d97d680 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -69,7 +69,7 @@ connection_or_read_proxy_response(connection_t *conn) switch (fetch_from_buf_http(conn->inbuf, &headers, MAX_HEADERS_SIZE, - NULL, NULL, 10000)) { + NULL, NULL, 10000, 0)) { case -1: /* overflow */ log_fn(LOG_WARN,"Your https proxy sent back an oversized response. Closing."); return -1; |