Skip to content

Shouldn't Multi be Send? #625

@jedenastka

Description

@jedenastka

According to https://curl.se/libcurl/c/threadsafe.html, it is safe to pass handles across threads (it's not safe to use handles in multiple threads at once, which in Rust terms would mean they are !Sync), so shouldn't Multi be Send? It being !Send complicates some multithreaded code I'm writing: it seems that what I'm trying to do should be thread safe, however, the compiler prevents me from doing that due to !Send being implemented on Multi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions