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 bug https://github.com/koajs/koa/issues/1547 #1548

Closed
wants to merge 1 commit into from
Closed

fix bug https://github.com/koajs/koa/issues/1547 #1548

wants to merge 1 commit into from

Conversation

masx200
Copy link

@masx200 masx200 commented Jun 24, 2021

fix bug #1547

Copy link
Member

@3imed-jaberi 3imed-jaberi left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@jonathanong
Copy link
Member

will need a test for this

@masx200
Copy link
Author

masx200 commented Aug 18, 2021

Thanks, I don't know how to write unit tests, and I'm just an amateur programmer.

@jonathanong
Copy link
Member

actually, something we need to do here is consume any bodies, otherwise if the body was a stream, this would create a leak. this would need some more complicated checks for this code as well as existing code

@jonathanong jonathanong closed this Nov 1, 2024
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.

3 participants