cURL / Mailing Lists / curl-library / Single Mail

curl-library

Recursive curl download.

From: Arunkumar Manickam <arun.ccjl_at_gmail.com>
Date: Wed, 14 Sep 2011 16:29:37 +0530

Hi,

Here is a peculiar scenario...
We have an ongoing HTTPs session using libcurl compiled with openssl.
In the openssl verify call back, we need to download the CRL of the ssl
server certificate.
Can we initialise another curl easy handle and download CRL inside verify
call back function. We are already inside a call back function from a curl
download itself.

Is it advisable to do a new curl session from with in one of the callbacks
of another curl session.
If it is not, is there any call back we can register, to get notified once
the connection to a secure server is made, for further verifications.

Pls advice.

Thanks,
Arun

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-14