Arunkumar Manickam
2011-09-14 10:59:37 UTC
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
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