Felipe Gasper via curl-library
2021-05-12 16:52:34 UTC
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
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