curl / Mailing Lists / curl-library / Single Mail
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.

curl_multi_remove_handle callbacks - debug mode?

From: Felipe Gasper via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 12 May 2021 12:52:34 -0400

Hi,

        On a couple of occasions now I’ve chased down segfaults that it turned out were happening because a callback was freeing the multi.

        Is there any kind of “debug mode” in libcurl available that would warn, assert, or otherwise complain if something like that happens? I _think_ I have a fix in place that will prevent the issue moving forward, but that’s what I thought last time I fixed this problem. :-P

        If there’s not such a mode available, would that be a reasonable feature to add?

        Thank you!

cheers,
-Felipe

p.s. More context: https://github.com/sparky/perl-Net-Curl/pull/62
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-05-12