On Tue, 6 Sep 2011, liuzl wrote:
> When sending a internal packet(eg:window adjust packet),
> even we may blocked in the last call, try to send it normally
Isn't the bug in the channel_read function "only" that the adjust window
functionality breaks when transport_recv() is called until EGAIN in subsequent
calls?
I suggest the attached patch instead of yours. It makes sure that the
window_adjust function is called again immediately if it was that function
that caused the previous EAGAIN return code.
-- / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel