cURL / Mailing Lists / curl-library / Single Mail


Is CURL struct thread-safe?

From: Jonathan Wallace <>
Date: Tue, 8 Dec 2009 16:44:52 -0500

I may occasionally have 4-10 threads all using the same CURL instance. Can I do this, or will it screw something up?

Each thread might give it a different address, headers, cookies... If I set a header on a CURL instance using curl_easy_opt, while the same CURL struct is in use (fetching, or being set up by another thread) is it safe, or will that cause problems?
List admin:
Received on 2009-12-08