Subject: [PATCH] fix bugs causing data drops

[PATCH] fix bugs causing data drops

From: Salvador Fandino <sfandino_at_yahoo.com>
Date: Tue, 15 Oct 2013 12:16:08 +0200

See the commit messages on the attached patches for the details.

In summary:

1) _libssh2_channel_read() could drop data under some rare circusnstances.

2) zlib inflate() usage was wrong resulting in corruption on the channel
stream. This bug only manifested when transferring highly compressible data.

My previous patch "Fix flow control" (also attached) has to be applied
before the other two.

Received on 2013-10-15