curl-library
Is it possible to interrupt SSL certficate exchange phase
Date: Wed, 21 Jul 2010 10:09:35 +0300
('binary' encoding is not supported, stored as-is)
Hello Daniel,
Thanks in advance for your time. I have a question regerding HTTPS connections. I use libcurl 7.20.0 + openssl 0.9.8.
I'm trying to connect HTTPS server and perform HTTP GET request. It is very important for me to fit the timeouts I set. Right now I use
CURLOPT_TIMEOUT set to 30 sec and CURLOPT_CONNECTTIMEOUT set to 10 sec.
In general they work but there are cases when these settings work unreliable and I get overall time up to 50 seconds (connectivity is very poor).
I'm sure that CURLOPT_CONNECTTIMEOUT works fine since it uses signals and longjumps. But I have conserns regarding CURLOPT_TIMEOUT.
The question are:
Is it possible the SSL sertificate exchange phase is not limited be CURLOPT_TIMEOUT?
So if, let's say, the SSL sertificate exchange phase takes longer that the value of CURLOPT_TIMEOUT then it won't be interrupt til is ends?
Is there any way to overcome the problem?
Thanks,
Nikita
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-21