cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: How can i get the SSL context from a curl handle

From: Mayank Kumar (mayankum) <mayankum_at_cisco.com>
Date: Thu, 18 Oct 2012 17:43:05 +0000

Resending since I didn't get any response. Is there a way to extract the ssl context for the https connection initiated so that we could use SSL_read on the socket handle extracted from the curl handle.

From: Mayank Kumar (mayankum)
Sent: Tuesday, October 02, 2012 4:08 PM
To: curl-library_at_cool.haxx.se
Subject: How can i get the SSL context from a curl handle

Here is what I am trying to do :-

1. Initiate a https connection using curl_easy_perform

2. Extract the socket from curl handle

3. Extract the ssl context from the curl handle and then use SSL_read to read the data from the socket since the other side will send encrypted data written using SSL_write.

Not sure how to get 3 working.

Thanks
Mayank

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-18