cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_getinfo for getting the Last Socket SSLHandle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Jul 2006 20:42:05 +0200 (CEST)

On Wed, 12 Jul 2006, Ratna Gudlavalleti wrote:

> CURLINFO_LASTSOCKET is great functionality where I can the Socket and
> transfer the application data over, but if we connected to SSL Server then
> we need the SSLHandle to write any data using the following function
>
> int SSL_Write(SSLHandle */handle/, void */buffer/, int /buffer_length/)
>
> I couldn't find any curl_easy_getinfo for getting the last socket SSLHandle.
>
> Can we add the API for getting the SSLHandle does any one else this is a
> requirement or I am doing wrong

Yes, we should probably add an API for that but we should then make sure that
we don't write this explicitly for OpenSSL but also support other libs we can
do SSL with...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-13