Skip to content

Convert some warnings to Error in zlib extension #4985

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

Closed
wants to merge 1 commit into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Dec 8, 2019

No description provided.

@Girgias
Copy link
Member Author

Girgias commented Dec 30, 2019

If there are no objections I'll rebase and merge this next week.

@ghost
Copy link

ghost commented Dec 31, 2019

Shouldn't this line also be changed to throw? I was only scrolling to that function because I was interested in seeing whether partial data fed to a zlib inflate context would throw now with this PR.

@nikic
Copy link
Member

nikic commented Jan 3, 2020

Shouldn't this line also be changed to throw? I was only scrolling to that function because I was interested in seeing whether partial data fed to a zlib inflate context would throw now with this PR.

No, this should not throw Error, as it's an expected condition.

@Girgias Girgias force-pushed the zlib-warning-to-error branch from ae719c0 to d2ed399 Compare January 7, 2020 19:54
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

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

LG. Would be great if you could also change the error messages to capitalize the first character.

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.

3 participants