curl-library
Re: Is it possible to interrupt SSL certficate exchange phase
Date: Wed, 21 Jul 2010 13:49:23 +0200 (CEST)
On Wed, 21 Jul 2010, оЙЛЙФБ дПТПИЙО wrote:
> 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).
> Is it possible the SSL sertificate exchange phase is not limited be
> CURLOPT_TIMEOUT?
There are lots of function calls that are assumed to be rather fast and won't
be prematurely aborted with signals if they're not. But I would rather assume
other reasons than that the certificate stuff would be the culprit. Have done
any debugging and measurements that indicate this particular source for this
problem?
> Is there any way to overcome the problem?
Sure. First we need to identify what part that takes a long time. When we need
to understand why and then how to make it not do that.
Oh, and also please try the most recent libcurl release as well just to be
sure that the problem hasn't been fixed or altered since the version you use.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-21