# HG changeset patch # User Matt Johnston # Date 1447948386 -28800 # Node ID 41a5820cab8b90cf32df9fbb02706da52f043a61 # Parent 509cf5df51c61199a6e2b9e26756768eaf67993c Increase channel limit to 1000 diff -r 509cf5df51c6 -r 41a5820cab8b sysoptions.h --- 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,