On Thu, 22 Jan 2009, Stefan Kögel wrote:
If I try to open another direct TCPIP channel to any host and port the session is killed immediately. There is no error message at all. The channel is not created and using "netstat" I can watch how the session socket is closed.The way I see it, this is a major bug because the session should stay alive until I tell it to close.My workaround is to use a separate session for every channel. Even though this is a very crude way, it works stable.
Can you please A) submit this to the bug tracker[*] and B) attach a full example code repeating this issue?
p.s.: could somebody please fix libssh2_poll for linux? I'd love to read channels in non-blocking mode without getting stuck for a long time!
I use libssh2 non-blocking all the time with no problem. libssh2_poll() is rather pointless actually since you know the socket already and can just as well use the regular poll(). That's also why I don't consider libssh2_poll() flaws very important.
[*] = https://sourceforge.net/tracker2/?func=add&group_id=125852&atid=703942 -- / daniel.haxx.se
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel