curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Blocking curl_multi_perform with multiple SSL calls

From: Aleksandar Lazic via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 10 May 2017 07:15:19 +0200

Hi Sean Bollin.

Sean Bollin have written on Tue, 9 May 2017 15:24:50 -0700:

> I've got an issue in our application when I fire off a few dozen HTTPS
> requests curl_multi_perform is blocking for 15+ seconds.
>
> I took this example and modified it to just make 30 HTTPS requests:
> https://curl.haxx.se/libcurl/c/multi-app.htm
>
> When I compile multi-app and link it to the libcurl 7.29.0 installed
> on RedHat at the system level (using just gcc multi-app.c -lcurl) I
> can reproduce this long pause of 15+ seconds.
>
> Next, if I download libcurl 7.42 or even the same version 7.29 and
> build that myself, and link against it, I'm able to get the requests
> to fire off in 1-2 seconds total.

Which ssl library do you use when you compile by your own?
The curl on centos is build with nss.

Regards
Aleks

> I've tried enabling/disabling AsyncDNS via c-ares as that was a
> difference I noticed between the system level library and the ones I
> compiled manually but it didn't have any effect.
>
> Currently I am stumped as to how to continue. Any ideas on how to
> debug this or what to check?
>
> Let me know if I can provide any further info.
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-05-10