Subject: Re: Doesn't get complete data after channel_exec()

Re: Doesn't get complete data after channel_exec()

From: Sunjith P S <sunjithps_at_gmail.com>
Date: Thu, 30 Jul 2009 11:28:44 +0530

Sorry, I just noticed the bug and fix. The diff was against libssh2-1.1

Thank you.

> On Tue, 28 Jul 2009, Sunjith P S wrote:
>
> > channel_read() sometimes returns 0 after channel_exec() and loses some data.
> > Figured out it was due to channel_read not reading when remote has closed
> > connection. Disabling remote closed check in the while loop fixed the issue.
> > The diff is attached.
>
> Uhm, what version of the code are you diffing this against? In my repo it
> seems this problem was already fixed?
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-30