Skip to content

wakeup_create implementations "leak" file descriptors to process children #13618

Description

@unlightable

I did this

curl_multi_init() is enough to create a pipe or a socketpair with no FD_CLOEXEC/SOCK_CLOEXEC set.

I expected the following

A way to set those flags to not inherit file descriptors by fork-exec'ed children of the process.
Kinda related issue: #2252

curl/libcurl version

master

operating system

doesn't matter

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