-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [email protected] 2007/06/25 08:20:03
[channels.c] Correct test for window updates every three packets; prevents sending window updates for every single packet. ok markus@
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,10 @@ | |
[atomicio.c] | ||
if the fd passed to atomicio/atomiciov() is non blocking, then poll() to | ||
avoid a spin if it is not yet ready for reading/writing; ok dtucker@ | ||
- [email protected] 2007/06/25 08:20:03 | ||
[channels.c] | ||
Correct test for window updates every three packets; prevents sending | ||
window updates for every single packet. ok markus@ | ||
|
||
20070614 | ||
- (dtucker) [cipher-ctr.c umac.c openbsd-compat/openssl-compat.h] Move the | ||
|
@@ -3091,4 +3095,4 @@ | |
OpenServer 6 and add osr5bigcrypt support so when someone migrates | ||
passwords between UnixWare and OpenServer they will still work. OK dtucker@ | ||
|
||
$Id: ChangeLog,v 1.4706 2007/06/25 09:04:12 dtucker Exp $ | ||
$Id: ChangeLog,v 1.4707 2007/06/25 09:04:46 dtucker Exp $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: channels.c,v 1.269 2007/06/11 08:04:44 markus Exp $ */ | ||
/* $OpenBSD: channels.c,v 1.270 2007/06/25 08:20:03 dtucker Exp $ */ | ||
/* | ||
* Author: Tatu Ylonen <[email protected]> | ||
* Copyright (c) 1995 Tatu Ylonen <[email protected]>, Espoo, Finland | ||
|
@@ -1657,7 +1657,7 @@ channel_check_window(Channel *c) | |
{ | ||
if (c->type == SSH_CHANNEL_OPEN && | ||
!(c->flags & (CHAN_CLOSE_SENT|CHAN_CLOSE_RCVD)) && | ||
((c->local_window_max - c->local_window < | ||
((c->local_window_max - c->local_window > | ||
c->local_maxpacket*3) || | ||
c->local_window < c->local_window_max/2) && | ||
c->local_consumed > 0) { | ||
|