diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-19 15:20:57 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-19 15:20:57 +1100 |
commit | 19a59451050446bb8656d1b72a8787e97cd1c99b (patch) | |
tree | 567e6e601f4e88d013f6a4ffaab9692ba54bbc04 /session.c | |
parent | 2aa0c1995c1a4c138b7a03fe90e75d6f73eab1f3 (diff) |
- markus@cvs.openbsd.org 2002/02/14 23:28:00
[channels.h session.c ssh.c]
increase the SSH v2 window size to 4 packets. comsumes a little
bit more memory for slow receivers but increases througput.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.125 2002/02/09 17:37:34 deraadt Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.126 2002/02/14 23:28:00 markus Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -1781,7 +1781,8 @@ session_set_fds(Session *s, int fdin, int fdout, int fderr) | |||
1781 | channel_set_fds(s->chanid, | 1781 | channel_set_fds(s->chanid, |
1782 | fdout, fdin, fderr, | 1782 | fdout, fdin, fderr, |
1783 | fderr == -1 ? CHAN_EXTENDED_IGNORE : CHAN_EXTENDED_READ, | 1783 | fderr == -1 ? CHAN_EXTENDED_IGNORE : CHAN_EXTENDED_READ, |
1784 | 1); | 1784 | 1, |
1785 | CHAN_SES_WINDOW_DEFAULT); | ||
1785 | } | 1786 | } |
1786 | 1787 | ||
1787 | /* | 1788 | /* |