From 8f2b429a3bb998a1e60515e731bb0b5437c22b19 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 26 Feb 2004 22:02:22 +0000 Subject: when they use tor as an http proxy, give them an http 501 failure svn:r1126 --- src/or/or.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/or/or.h') 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; -- cgit v1.2.3