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

IpcOneShotServer::accept needs timeout or try method #261

Open
mitsuhiko opened this issue Feb 26, 2020 · 1 comment
Open

IpcOneShotServer::accept needs timeout or try method #261

mitsuhiko opened this issue Feb 26, 2020 · 1 comment

Comments

@mitsuhiko
Copy link

Currently if a subprocess dies there is no way to interrupt the accept. This means that you end up blocking on the accept forever. This turned out to be an issue with the procspawn crate where if the subprocess does not spawn correctly it just hangs there forever.

@demurgos
Copy link
Contributor

I am trying to use IpcOneShotServer inside an async function and face a related issue where the function may block forever.

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

No branches or pull requests

2 participants