Subject: [libssh2] Tunneling question

[libssh2] Tunneling question

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


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.


This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.

libssh2-devel mailing list
Received on 2008-03-15