#219: libssh2_channel_forward_listen_ex freezes the program!
-----------------------+----------------------------------------------------
Reporter: fingster | Owner: bagder
Type: defect | Status: assigned
Priority: high | Milestone: 1.2.9
Component: API | Version: 1.2.8
Resolution: | Keywords: port forward
Blocks: | Blocked By:
-----------------------+----------------------------------------------------
Comment (by fingster):
When I put
{{{
libssh2_session_set_blocking(session, 0);
}}}
before the cited example code, channel gets nothing but NULL. And printf
shows that "Remote forwding port: 0".
If I put
{{{
libssh2_session_set_blocking(session, 0);
}}}
after the cited example code, the program freezes at
libssh2_channel_forward_listen_ex and never returns. Nothing outputs.
how to use libssh2_channel_forward_listen_ex? Any example?
Thank you!
-- Ticket URL: <http://trac.libssh2.org/ticket/219#comment:2> libssh2 <http://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2011-05-17