curl / Mailing Lists / curl-library / Single Mail

curl-library

HTTPS with OPENSOCKETFUNCTION

From: Kiran P <kk0509_at_outlook.com>
Date: Mon, 23 Apr 2018 21:00:05 +0000

Hi,

I am getting an error ("Unknown SSL protocol error in connection") when trying to send HTTPS requests with CURL. I have OPENSOCKETFUNCTION set to open socket to the server. This function even takes care of setting up SSL session using OpenSSL.
I suspect the error is because CURL is unaware of the SSL session details. If that is true, is there a way to get callbacks for socket read/write or if there is a way to set SSL context to CURL?

Thanks,
Kiran

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-23