Subject: libssh2_channel_direct_tcpip_ex

libssh2_channel_direct_tcpip_ex

From: Aristidis Zoutsos <azouts_at_gmail.com>
Date: Thu, 31 Jan 2013 21:05:12 +0200

Hi,

I open a direct tcpip channel to forward a local port to an http 1.1 proxy.

I send a request and when I get the response back, the channel receives the
channel EOF (HTTP proxy closes the connection). After that the channel
seems not usable anymore so I close and free the channel and then I try to
reestablish a new direct tcpip channel. However it cannot reestablish a new
channel so I have to disconnect the whole session and start a new one.

Is this the correct way to make the http tunnel or is something wrong?

This way the loading of a page with many requests has to open many sessions
and authenticate again and again and it is slow.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-01-31