Subject: Re: libssh2_channel_write_ex may incorrectly return EAGAIN

Re: libssh2_channel_write_ex may incorrectly return EAGAIN

From: Tommy Lindgren <tommy.lindgren_at_gmail.com>
Date: Sat, 13 Nov 2010 16:01:46 +0100

Daniel Stenberg <daniel_at_haxx.se> writes:

> On Sat, 13 Nov 2010, Daniel Stenberg wrote:
>
>> Tommy's example code is an EXCELLENT helper to track this down. I
>> found one bug that reduced the problem but I've still not fixed it
>> completely...
>
> Okay, I found another bug now. I've fixed both and reran Tommy's code
> many times and it now seems to be fully functional. I just pushed my
> changes.

Thanks! Looks fine here too now.

> I'm sure these flaws also affect Mark Riordan's case and explains
> some/all of the resends he has seen.
>
> Thanks Tommy for the great recipe! I'll make it into an example code
> so that we can use that for further testing. You ok with that?

Absolutely, I'm glad it was useful.

Regards,
Tommy
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-13