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.js v16 error responses on HTTP1.1 #1206

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Sep 3, 2024

This fixes a bug for Connect-ES servers running on Node.js v16: When an error occurred when parsing the request body, the server would silently fail to write the error to the response.

For technical reasons, we haven't been running the Connect Conformance tests on Node.js v16, and this bug went unnoticed. Now that we're more flexible with running tests on different versions of Node.js (thanks to #1194), we can add v16 to CI to make sure we don't regress.

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm merged commit d42cff5 into main Sep 3, 2024
46 checks passed
@timostamm timostamm deleted the tstamm/Fix-Node.js-v16-error-responses-on-HTTP1.1 branch September 3, 2024 15:08
timostamm added a commit that referenced this pull request Sep 12, 2024
See #1206

Signed-off-by: Timo Stamm <ts@timostamm.de>
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