cURL / Mailing Lists / curl-library / Single Mail

curl-library

Implementing protocols with curl sockets

From: Roman Kubiak <kubiak.roman_at_gmail.com>
Date: Wed, 29 Apr 2009 16:11:58 +0200

I've seen some posts about this, but i didn't see any solution to this
(at least not a solution that i could use).

The question is how can i pass a connected, proxy aware socket to
libssh2 using curl. I mean i want a connected
socket but not to the proxy only but to the end host, with all the
proxy stuff done.

I thought of using the http protocol but i dn't think i can force curl
to zero all sent data, i don't know about other protocols
(telnet perhaps?) i now there is SSH support but only for transferring
files, and i would like to create ssh tunnels with libssh2.

Perhaps you could expose the libssh2 session handles with
curl_getinfo() so that i can use that to do some nasty stuff.

any ideas are welcome, really :)

btw. great piece of code.

regards Roman Kubiak
-------------------------------
  Voltage Controlled
-------------------------------
Received on 2009-04-29