diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2018-12-07 05:36:09 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-12-27 04:30:17 +0100 |
commit | 434b587afe41c19391821e7392005068fda76248 (patch) | |
tree | 2aee75c1f39344d80af0772aa4dacf6885e827f5 /kexdh.c | |
parent | upstream: only consider the ext-info-c extension during the initial (diff) | |
download | openssh-434b587afe41c19391821e7392005068fda76248.tar.xz openssh-434b587afe41c19391821e7392005068fda76248.zip |
upstream: Fix calculation of initial bandwidth limits. Account for
written bytes before the initial timer check so that the first buffer written
is accounted. Set the threshold after which the timer is checked such that
the limit starts being computed as soon as possible, ie after the second
buffer is written. This prevents an initial burst of traffic and provides a
more accurate bandwidth limit. bz#2927, ok djm.
OpenBSD-Commit-ID: ff3ef76e4e43040ec198c2718d5682c36b255cb6
Diffstat (limited to 'kexdh.c')
0 files changed, 0 insertions, 0 deletions