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

use control pipe to signal closure #8

Merged
merged 2 commits into from
Jun 22, 2017
Merged

use control pipe to signal closure #8

merged 2 commits into from
Jun 22, 2017

Conversation

minrk
Copy link
Owner

@minrk minrk commented Jun 22, 2017

instead of closing pipes, which causes EBADFD and other errors (#4, #7)

also fixes some leaking pipes on each iteration

closes #1
closes #5
closes #7

second fix retrying dup2 on EBUSY should close #4

Might even close #6

minrk added 2 commits June 22, 2017 16:15
instead of closing pipes which causes EBADFD sometimes

also fixes some leaking pipes on each iteration
@minrk minrk merged commit d3dfa51 into master Jun 22, 2017
@minrk minrk deleted the badfd branch June 22, 2017 14:32
@samousli
Copy link

samousli commented Aug 2, 2017

Great, thank you!

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