On 2009-08-04, at 1:55 PM, Peter Stuge wrote:
>
>> I wish we had a test suite that would catch these errors before we
>> commit...
>
> This is tricky to test for because the failure is dependant on how
> the operating system behaves, which depends on if it's a local
> connection or a remote connection, and maybe even which kernel it's
> running on.
For me, it was also sensitive to timing. If I delayed the read, the
bug went away, presumably because the data was allowed to buffer and
was then transferred as one big chunk.
/\/\ike
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-04