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.

Re: curl_multi_perform creates new thread

From: Dan Fandrich via curl-library <>
Date: Wed, 20 Sep 2023 18:17:02 -0700

On Wed, Sep 20, 2023 at 09:11:32PM -0400, Anass Meskini via curl-library wrote:
> I compiled curl from the github repository with --with-openssl then I compiled
> multi-app.c.
> When I run the program in gdb and add a breakpoint for pthread_create I see:

curl will use the threaded resolver option by default, so yes, this is
expected. You can configure with the --disable-threaded-resolver or
--enable-ares option to avoid this.

Received on 2023-09-21