diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-02 20:22:10 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-02 20:22:10 +0000 |
commit | b494c2223df3a53e47045cf8044bbaeb2377ebf1 (patch) | |
tree | aad36c5019bc43d1e5639db095bd20bd7cc85e8d /src/or/or.h | |
parent | 65230fd39f0c333ce8616f5a578f4941ea9f0b94 (diff) | |
download | tor-b494c2223df3a53e47045cf8044bbaeb2377ebf1.tar tor-b494c2223df3a53e47045cf8044bbaeb2377ebf1.tar.gz |
Specify and implement fragmented control messages to allow for (among other things) long GETINFO replies. Otherwise we could hit the 64K barrier on questions like "please dump your client-side DNS cache."
svn:r3726
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index fa76f55d5..f01b6b31c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1100,7 +1100,7 @@ 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); int fetch_from_buf_socks(buf_t *buf, socks_request_t *req); -int fetch_from_buf_control(buf_t *buf, uint16_t *len_out, uint16_t *type_out, +int fetch_from_buf_control(buf_t *buf, uint32_t *len_out, uint16_t *type_out, char **body_out); void assert_buf_ok(buf_t *buf); |