cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: segfaulting in Curl_num_addresses on OS X and Ubuntu

From: Eric Ridge <eebbrr_at_gmail.com>
Date: Sat, 1 Aug 2015 19:11:10 -0400

> On Aug 1, 2015, at 6:28 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> Well it can't. But if you build curl yourself for your own pleasure and fun, and you don't use the threaded resolver, it is useful information that the memory functions don't need to be thread-safe... IMHO.

What about:

"If you're using a version of libcurl installed by a package manager (or Windows), it is possible that libcurl is multi-threaded. Therefore, the custom allocator functions should be thread-safe to ensure correctness.

On the other hand, if you're using a custom-built libcurl without the threaded resolver, then the functions need not be thread-safe."

eric

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-02