diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-26 22:02:22 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-26 22:02:22 +0000 |
commit | 8f2b429a3bb998a1e60515e731bb0b5437c22b19 (patch) | |
tree | 74cb6d2122e497355e69fbe7a60442d3026e8a5c /src/or/or.h | |
parent | 7d4202a6dc533bd19244ceb9b54911f0517b5936 (diff) | |
download | tor-8f2b429a3bb998a1e60515e731bb0b5437c22b19.tar tor-8f2b429a3bb998a1e60515e731bb0b5437c22b19.tar.gz |
when they use tor as an http proxy, give them an http 501 failure
svn:r1126
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 998fb7fc9..f34d57a13 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -523,9 +523,8 @@ typedef struct { } or_options_t; /* XXX are these good enough defaults? */ -#define MAX_SOCKS_REPLY_LEN 256 -/* Not 256; addresses must fit in a begin cell. */ -#define MAX_SOCKS_ADDR_LEN 200 +#define MAX_SOCKS_REPLY_LEN 1024 +#define MAX_SOCKS_ADDR_LEN 256 struct socks_request_t { char socks_version; int replylen; |