diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-11-19 23:53:06 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-11-19 23:53:06 +0800 |
commit | a461298109c7107ff8e69789b21275c001657f65 (patch) | |
tree | e3a224ac111c011cbcfeaac503c695d8b382dd5e /sysoptions.h | |
parent | 90c3a74b2ad828061eb726a08d6919ed080ad7e1 (diff) |
Increase channel limit to 1000
Diffstat (limited to 'sysoptions.h')
-rw-r--r-- | sysoptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysoptions.h b/sysoptions.h index d6f1a1f..c7ab542 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -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, |