curl / Mailing Lists / curl-library / Single Mail



From: Daniel Stenberg <>
Date: Fri, 26 Jan 2018 23:40:48 +0100 (CET)

On Fri, 26 Jan 2018, Pete Lomax via curl-library wrote:

> I have written a wrapper for libcurl for my language, Phix
> (, and found that the CURLOPT_DEBUGFUNCTION option does
> not play nicely with my threads.


> should libcurl invoke CreateThread/sys_fork without my knowledge and then
> invoke a callback from the new thread, it crashes

If the callback is called from the name resolver thread I think that's a bug.
Are you sure that's the case? Or better: if it happens, can you set a
break-point and see from where it's called?

Received on 2018-01-26