changeset 1169:41a5820cab8b

Increase channel limit to 1000
author Matt Johnston <matt@ucc.asn.au>
date Thu, 19 Nov 2015 23:53:06 +0800
parents 509cf5df51c6
children ff9bd50f1457
files sysoptions.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,