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

Disable socket descriptor sharing with subprocs. #32616

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Oct 7, 2019

On Unix systems, sockets are like file descriptors, and file descriptors
are usually shared among child processes.
This means, that if we spawn a subprocess (or we fork) like we do in the
editor, open file descriptors will leak to the new process.
This causes issue with sockets as they might remain open and bound
(listening) when the original process closes.

Fixes #32533

On Unix systems, sockets are like file descriptors, and file descriptors
are usually shared among child processes.
This means, that if we spawn a subprocess (or we fork) like we do in the
editor, open file descriptors will leak to the new process.
This causes issue with sockets as they might remain open and bound
(listening) when the original process closes.
@Faless Faless added this to the 3.2 milestone Oct 7, 2019
@Faless Faless requested a review from hpvb as a code owner October 7, 2019 09:55
@akien-mga akien-mga merged commit 02d75f9 into godotengine:master Oct 8, 2019
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

Error printed to console on any project with an image
2 participants