curl-users
Re: Talking to a raw SSL Socket (aka TCP/IP/SSL)
From: Peter Sylvester <Peter.Sylvester_at_edelweb.fr>
Date: Tue, 12 Sep 2006 14:29:15 +0200
Received on 2006-09-12
Date: Tue, 12 Sep 2006 14:29:15 +0200
Daniel Stenberg wrote:
> On Tue, 12 Sep 2006, Peter Sylvester wrote:
>
>> Sometimes the 'raw' application is behind one of those proxies that
>> curls handles quite nicely. One case is a proxy with a CONNECT, many
>> client applications support this, since it is simple, but then there
>> are the proxy authentications etc. Why not having a little spin off
>> of curl just for the proxy parts.
>
> Right, that can be done if you use libcurl's CURLOPT_CONNECT_ONLY
> option together with CURLINFO_LASTSOCKET.
>
Isn't it nice that curl already supports all the required stuff? with
openssl then one just gives the
fd to the SSL and you continue withe the openssl api.
-- To verify the signature, see http://edelpki.edelweb.fr/ Cela vous permet de charger le certificat de l'autorité; die Liste mit zurückgerufenen Zertifikaten finden Sie da auch.
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature