Mercurial > dropbear
diff sysoptions.h @ 1169:41a5820cab8b
Increase channel limit to 1000
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 19 Nov 2015 23:53:06 +0800 |
parents | 809feaa9408f |
children | 1637dbd26212 |
line wrap: on
line diff
--- a/sysoptions.h Thu Nov 19 23:52:52 2015 +0800 +++ b/sysoptions.h Thu Nov 19 23:53:06 2015 +0800 @@ -150,7 +150,7 @@ RECV_WINDOWEXTEND bytes */ #define MAX_RECV_WINDOW (1024*1024) /* 1 MB should be enough */ -#define MAX_CHANNELS 100 /* simple mem restriction, includes each tcp/x11 +#define MAX_CHANNELS 1000 /* simple mem restriction, includes each tcp/x11 connection, so can't be _too_ small */ #define MAX_STRING_LEN (MAX(MAX_CMD_LEN, 2400)) /* Sun SSH needs 2400 for algos,