On Sat, 13 Nov 2010, Daniel Stenberg wrote:

_libssh2_channel_write() can now (since my bug fix from a few hours ago) return more data than what is passed in to it (if a previous call got EAGAIN)

Crap. I've now reverted the approach to have _libssh2_channel_write() split data into smaller chunks and call a sub function to send them out. I think it got a bit faster by doing so, but it turned out too ugly to do and still keep the API working.

I hope this fixes Mark's most recent crashes. My tests still run just as good as before at least.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to