aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
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;