summaryrefslogtreecommitdiff
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-07-24 15:40:23 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-07-24 15:40:23 +0000
commit91bb52154adec3044620b8d8fbb2566d9072e6f7 (patch)
tree13055bd4d173cbf2c4c161d7e9d181cca47c5f7d /channel.h
parent6ec5ee0c500f4d32df4be6f84538e19a62b9b32e (diff)
downloaddropbear-91bb52154adec3044620b8d8fbb2566d9072e6f7.tar.gz
Rearrange the channel buffer sizes into three neat use-editable values in
options.h. Increasing RECV_MAX_WINDOW gives big network performance increases - even with the present buffers (which haven't changed) it performs a lot better. Next step is to make the window size a cmdline option.
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/channel.h b/channel.h
index 1bfe392..46f023e 100644
--- a/channel.h
+++ b/channel.h
@@ -45,16 +45,8 @@
/* Not a real type */
#define SSH_OPEN_IN_PROGRESS 99
-#define MAX_CHANNELS 100 /* simple mem restriction, includes each tcp/x11
- connection, so can't be _too_ small */
-
#define CHAN_EXTEND_SIZE 3 /* how many extra slots to add when we need more */
-#define RECV_MAXWINDOW 8000 /* tweak */
-#define RECV_WINDOWEXTEND 1000 /* We send a "window extend" every
- RECV_WINDOWEXTEND bytes */
-#define RECV_MAXPACKET RECV_MAXWINDOW /* tweak */
-
struct ChanType;
struct Channel {