Subject: [libssh2] Tunneling question

[libssh2] Tunneling question

From: Sabyasachi Ruj <ruj.sabya_at_gmail.com>
Date: Sat, 15 Mar 2008 19:11:03 +0530

Hi,

I am doing tunneling to a MySQL server using libssh2.
How can I detect a MySQL server gone away?
Is there any way to detect that?
channel_read and channel write are not failing with an error.
Read blocks(if the channel is blocking) or fails with LIBSSH2_ERROR_EAGAIN.
Write is successful.
So my tunneler is not able to detect if MySQL server is stopped.

-- 
Sabyasachi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-03-15