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/or.h | |
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/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index df92d1db8b..6356549467 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1362,7 +1362,8 @@ int write_to_buf(const char *string, size_t string_len, buf_t *buf); int fetch_from_buf(char *string, size_t string_len, buf_t *buf); int fetch_from_buf_http(buf_t *buf, char **headers_out, size_t max_headerlen, - char **body_out, size_t *body_used, size_t max_bodylen); + char **body_out, size_t *body_used, size_t max_bodylen, + int force_complete); int fetch_from_buf_socks(buf_t *buf, socks_request_t *req); int fetch_from_buf_control0(buf_t *buf, uint32_t *len_out, uint16_t *type_out, char **body_out, int check_for_v1); |