Skip to content

data race on ipv6_works #915

@bprodoehl

Description

@bprodoehl

I did this

I ran a multi-threaded app that uses libcurl under Clang 3.9 ThreadSanitizer.

I expected the following

Clean operation.

curl/libcurl version

7.44

operating system

Ubuntu 14.04, x86_64.

I encountered a data race with two threads calling Curl_ipv6works() at the same time. I think perhaps the call to Curl_ipv6works() should be moved into curl_global_init() to avoid this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions