CVSROOT:        /cvs
Module name:    src
Changes by:     dtuc...@cvs.openbsd.org 2018/12/06 21:36:09

Modified files:
        usr.bin/ssh    : misc.c misc.h 

Log message:
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.

Reply via email to