summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--channels.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bb9c59899..3a7a497a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,10 @@
24 [sshd_config.5] 24 [sshd_config.5]
25 oops, here too: put the MAC list into a display, like we do for 25 oops, here too: put the MAC list into a display, like we do for
26 ciphers, since groff has trouble with wide lines; 26 ciphers, since groff has trouble with wide lines;
27 - markus@cvs.openbsd.org 2007/06/11 08:04:44
28 [channels.c]
29 send 'window adjust' messages every tree packets and do not wait
30 until 50% of the window is consumed. ok djm dtucker
27 - (djm) [configure.ac umac.c] If platform doesn't provide swap32(3), then 31 - (djm) [configure.ac umac.c] If platform doesn't provide swap32(3), then
28 fallback to provided bit-swizzing functions 32 fallback to provided bit-swizzing functions
29 - (dtucker) [openbsd-compat/bsd-misc.c] According to the spec the "remainder" 33 - (dtucker) [openbsd-compat/bsd-misc.c] According to the spec the "remainder"
@@ -3007,4 +3011,4 @@
3007 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3011 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3008 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3012 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3009 3013
3010$Id: ChangeLog,v 1.4687 2007/06/11 04:44:02 dtucker Exp $ 3014$Id: ChangeLog,v 1.4688 2007/06/11 08:33:15 djm Exp $
diff --git a/channels.c b/channels.c
index bb14450f4..1d5b1f108 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.268 2007/01/03 03:01:40 stevesk Exp $ */ 1/* $OpenBSD: channels.c,v 1.269 2007/06/11 08:04:44 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1657,7 +1657,9 @@ channel_check_window(Channel *c)
1657{ 1657{
1658 if (c->type == SSH_CHANNEL_OPEN && 1658 if (c->type == SSH_CHANNEL_OPEN &&
1659 !(c->flags & (CHAN_CLOSE_SENT|CHAN_CLOSE_RCVD)) && 1659 !(c->flags & (CHAN_CLOSE_SENT|CHAN_CLOSE_RCVD)) &&
1660 c->local_window < c->local_window_max/2 && 1660 ((c->local_window_max - c->local_window <
1661 c->local_maxpacket*3) ||
1662 c->local_window < c->local_window_max/2) &&
1661 c->local_consumed > 0) { 1663 c->local_consumed > 0) {
1662 packet_start(SSH2_MSG_CHANNEL_WINDOW_ADJUST); 1664 packet_start(SSH2_MSG_CHANNEL_WINDOW_ADJUST);
1663 packet_put_int(c->remote_id); 1665 packet_put_int(c->remote_id);