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

[drain] would loop infinitely if no bytes were currently pending. #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dhouse-js
Copy link
Contributor

This PR fixes this and adds some tests for the [drain] function.

This PR fixes this and adds some tests for the [drain] function.
@seliopou
Copy link
Member

seliopou commented Jul 5, 2021

It might be better just rename this close_and_drain and perform the close at the top of the function.

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.

2 participants