Skip to content

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

Merged
limeytexan merged 1 commit into
mainfrom
bugfix/final-poll-drop
Dec 18, 2024
Merged

fix: process the final pipe input event before closing#8
limeytexan merged 1 commit into
mainfrom
bugfix/final-poll-drop

Conversation

@limeytexan

Copy link
Copy Markdown
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.
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