Add remote tcp/ip forwarding.

This commit is contained in:
Sara Golemon
2004-12-29 19:26:28 +00:00
parent 596b62c027
commit 2e02ad041a
6 changed files with 354 additions and 1 deletions

View File

@@ -315,6 +315,10 @@ LIBSSH2_API void libssh2_session_free(LIBSSH2_SESSION *session)
}
}
while (session->listeners) {
libssh2_channel_forward_cancel(session->listeners);
}
if (session->newkeys) {
/* hostkey */
if (session->hostkey && session->hostkey->dtor) {