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_easy_perform spawns a new thread

From: Thomas de Toulmon via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 19 Jul 2022 11:14:06 +0200

Hi,

I have the following issue in my code. I call curl_easy_perform (via the
cpr library) and it spawns a new thread. I was able to verify that this is
precisely the call to curl_easy_perform that spawns a new thread and
terminates it before returning.

Is there a way I can prevent this from happening? I.e. to have
curl_easy_perform run in the current thread and prevent it from spawning a
new thread?

Thanks in advance for your help.

Best,
Thomas


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-07-19