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.html