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

fix: process the final pipe input event before closing #8

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

limeytexan
Copy link
Contributor

In the event that poll returned both POLLIN and POLLHUP in a single pass we were mistakenly closing the file descriptor without processing that final input. This was addressed by changing the condition for ending the loop.

Also expanded the midline-flush test to run 10 times because that's what was most effective in demonstrating the problem.

In the event that poll returned both POLLIN and POLLHUP in a single pass we
were mistakenly closing the file descriptor without processing that final
input. This was addressed by changing the condition for ending the loop.

Also expanded the midline-flush test to run 10 times because that's what
was most effective in demonstrating the problem.
@limeytexan limeytexan merged commit 7d5f5c5 into main Dec 18, 2024
4 checks passed
@limeytexan limeytexan deleted the bugfix/final-poll-drop branch December 18, 2024 16:07
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

Successfully merging this pull request may close these issues.

1 participant