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

check stream readable #58

Merged
merged 1 commit into from
Feb 19, 2022
Merged

check stream readable #58

merged 1 commit into from
Feb 19, 2022

Conversation

ziyofun
Copy link
Contributor

@ziyofun ziyofun commented Mar 25, 2018

Add check for stream in situation #57 ,if the stream.readable is false, there will be an error instead of endless waiting.

Copy link
Member

@dougwilson dougwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make the above changes 👍

test/index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@dougwilson dougwilson self-assigned this Apr 14, 2018
@dougwilson
Copy link
Member

Sorry I haven't landed this yet -- it's not because this is not desired, just trying to determine if this is semver major or can land as semver minor. I'm poking it now to see if everything that currently would fail this check just hangs forever, then that sounds semver minor to me 👍

@xavierfuentes

This comment was marked as spam.

@tim-phillips
Copy link

@dougwilson were you able to determine if this would be semver major or minor?

@fate9cat

This comment was marked as spam.

dougwilson pushed a commit to ziyofun/raw-body that referenced this pull request Feb 17, 2022
dougwilson pushed a commit to ziyofun/raw-body that referenced this pull request Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants