From a461298109c7107ff8e69789b21275c001657f65 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Thu, 19 Nov 2015 23:53:06 +0800
Subject: [PATCH] Increase channel limit to 1000

---
 sysoptions.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysoptions.h b/sysoptions.h
index d6f1a1ff..c7ab5426 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,
-- 
GitLab