Increase channel limit to 1000

This commit is contained in:
Matt Johnston 2015-11-19 23:53:06 +08:00
parent 90c3a74b2a
commit a461298109

View File

@ -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,