Skip to content
Snippets Groups Projects
Commit a4612981 authored by Matt Johnston's avatar Matt Johnston
Browse files

Increase channel limit to 1000

parent 90c3a74b
Branches
Tags
No related merge requests found
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
RECV_WINDOWEXTEND bytes */ RECV_WINDOWEXTEND bytes */
#define MAX_RECV_WINDOW (1024*1024) /* 1 MB should be enough */ #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 */ connection, so can't be _too_ small */
#define MAX_STRING_LEN (MAX(MAX_CMD_LEN, 2400)) /* Sun SSH needs 2400 for algos, #define MAX_STRING_LEN (MAX(MAX_CMD_LEN, 2400)) /* Sun SSH needs 2400 for algos,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment