Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Strange very long time in curl_multi_cleanup() after an SSL request
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Rainer Canavan via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 13 Nov 2023 15:03:12 +0100
On Thu, 9 Nov 2023, Frédéric BOITEUX via curl-library wrote:
> I'm using libcurl in a C program to perform various web operations. I'm
> using the 'multi' interface to be able to run multiple concurrent requests,
> in an asynchronous manner. I'm working on Linux Debian systems, and I
> recently tried to migrate my program from a Debian 11 to Debian 12 version,
> with libcurl updated from 7.74 to 7.88 version. With this 'new' version,
> I've experienced an unexpected behaviour: sometimes, when closing my app
> [and libcurl], the call to curl_multi_cleanup() takes a [very] long time,
> more than 5 minutes !! After some tests, I could reproduce it doing an
> HTTPS request, then terminating.
If you can, get a few gdb backtraces while curl_multi_cleanup() is
running, or possibly just start with strace, which is much easier, but
less likely to show anything helpful.
Rainer
Date: Mon, 13 Nov 2023 15:03:12 +0100
On Thu, 9 Nov 2023, Frédéric BOITEUX via curl-library wrote:
> I'm using libcurl in a C program to perform various web operations. I'm
> using the 'multi' interface to be able to run multiple concurrent requests,
> in an asynchronous manner. I'm working on Linux Debian systems, and I
> recently tried to migrate my program from a Debian 11 to Debian 12 version,
> with libcurl updated from 7.74 to 7.88 version. With this 'new' version,
> I've experienced an unexpected behaviour: sometimes, when closing my app
> [and libcurl], the call to curl_multi_cleanup() takes a [very] long time,
> more than 5 minutes !! After some tests, I could reproduce it doing an
> HTTPS request, then terminating.
If you can, get a few gdb backtraces while curl_multi_cleanup() is
running, or possibly just start with strace, which is much easier, but
less likely to show anything helpful.
Rainer
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-11-13