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(node/http): ignore server request parse errors #1624

Merged
merged 1 commit into from Nov 22, 2021
Merged

fix(node/http): ignore server request parse errors #1624

merged 1 commit into from Nov 22, 2021

Conversation

bnoordhuis
Copy link
Contributor

Handle malformed (usually truncated) client request by swallowing the
exception and closing the connection. Node also emits a "clientError"
but we don't currently have the net.Socket object listeners for that
event expect.

Fixes #1620.

Handle malformed (usually truncated) client request by swallowing the
exception and closing the connection. Node also emits a "clientError"
but we don't currently have the `net.Socket` object listeners for that
event expect.

Fixes #1620.
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM

@bnoordhuis bnoordhuis merged commit 56ba05f into denoland:main Nov 22, 2021
@bnoordhuis bnoordhuis deleted the fix1620 branch November 22, 2021 11:37
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.

node: Errors in http server
2 participants