mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Increase max window size to 10MB, fallback rather than
exiting if an invalid value is given.
This commit is contained in:
@@ -196,7 +196,7 @@ If you test it please contact the Dropbear author */
|
||||
|
||||
#define RECV_WINDOWEXTEND (opts.recv_window / 3) /* We send a "window extend" every
|
||||
RECV_WINDOWEXTEND bytes */
|
||||
#define MAX_RECV_WINDOW (1024*1024) /* 1 MB should be enough */
|
||||
#define MAX_RECV_WINDOW (10*1024*1024) /* 10 MB should be enough */
|
||||
|
||||
#define MAX_CHANNELS 1000 /* simple mem restriction, includes each tcp/x11
|
||||
connection, so can't be _too_ small */
|
||||
|
||||
Reference in New Issue
Block a user