DynamicWindow Patch

Damien Miller djm at mindrot.org
Thu Jul 8 23:02:56 EST 2004


Michael A Stevens wrote:
>>still, how does this matter if the tcp send and receive space are big enough?
> 
> 
> It also creates the need for some ugly hack where you know the maximum
> size of the buffer in the dynamic window code.

It will need to have an idea of the limit anyway, otherwise how would it
stop from overflowing size_t? The max TCP window is 2^32, size_t is
2^31-1 and we need at least one bit of headroom to be safe against
arithmetic overflows.

-d




More information about the openssh-unix-dev mailing list