diff options
author | Roger Dingledine <arma@torproject.org> | 2005-02-24 10:56:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-02-24 10:56:55 +0000 |
commit | 6faaac27064ba6bf0c8e0b1fc819004d3bf585ba (patch) | |
tree | 5df899f6ecbf2608d9632d11f23a82501442bbc5 /src/or/directory.c | |
parent | 8054f82992105c5e69f7ea10c578e23479234e8a (diff) | |
download | tor-6faaac27064ba6bf0c8e0b1fc819004d3bf585ba.tar.gz tor-6faaac27064ba6bf0c8e0b1fc819004d3bf585ba.zip |
add support for CONNECTing through https proxies.
not sure if it works. i don't have an https proxy.
svn:r3682
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index d1a813c224..b81f38d8ca 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -62,9 +62,6 @@ char rend_publish_string[] = "/tor/rendezvous/publish"; char rend_fetch_url[] = "/tor/rendezvous/"; #endif -#define MAX_HEADERS_SIZE 50000 -#define MAX_BODY_SIZE 500000 - #define ALLOW_DIRECTORY_TIME_SKEW 30*60 /********* END VARIABLES ************/ @@ -497,7 +494,7 @@ parse_http_url(char *headers, char **url) * if the value of the header is not recognized. * Otherwise, return -1. */ -static int +int parse_http_response(const char *headers, int *code, time_t *date, int *compression) { |