diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-01-26 17:51:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-28 08:03:22 +0100 |
commit | 0b030a5b232bd9fc4fed90f0d1aaac69c189aa22 (patch) | |
tree | 0ca314f27beda02318a970993b0e3e9cd1ebcd8d /lib/easy.c | |
parent | 872ea75acfe3405f1d3b18a07d70696c3d63a100 (diff) | |
download | curl-0b030a5b232bd9fc4fed90f0d1aaac69c189aa22.tar.gz |
global_init: move the IPv6 works status bool to multi handle
Previously it was stored in a global state which contributed to
curl_global_init's thread unsafety. This boolean is now instead figured
out in curl_multi_init() and stored in the multi handle. Less effective,
but thread safe.
Closes #4851
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/easy.c b/lib/easy.c index 0ad33c02b..98646c9c4 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -185,8 +185,6 @@ static CURLcode global_init(long flags, bool memoryfuncs) goto fail; } - (void)Curl_ipv6works(); - #if defined(USE_SSH) if(Curl_ssh_init()) { goto fail; |