Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
unlightable opened this issue May 13, 2024 · 1 comment
Closed

Comments

@unlightable
Copy link
Contributor

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

@bagder
Copy link
Member

bagder commented May 13, 2024

Mentioned in the TODO since 0cbfff9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants