GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: validate EOF for chunked h1 responses by mcollina · Pull Request #5308 · nodejs/undici

Conversation

@mcollina

@mcollina mcollina commented May 17, 2026

Copy link
Copy Markdown
Member

This relates to...

Backport of #5273 to v6.x.

Rationale

This brings the HTTP/1.1 EOF validation fix for truncated chunked responses to the v6.x line.

Changes

  • call parser.finish() on EOF / close paths instead of treating the response as complete
  • surface protocol errors for truncated chunked responses
  • add regression coverage for both Client and fetch

Features

N/A

Bug Fixes

  • reject truncated chunked HTTP/1.1 responses terminated by EOF

Breaking Changes and Deprecations

None

Status

  • I have read and agreed to the Developer's Certificate of Origin
  • Tested
  • Benchmarked (optional)
  • Documented
  • Review ready
  • In review
  • Merge ready

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mcollina
fix: validate EOF for chunked h1 responses (#5273)
ef0011d
(cherry picked from commit 13f6af6)
Signed-off-by: Matteo Collina <[email protected]>
metcoder95
metcoder95 approved these changes May 18, 2026
View reviewed changes
@mcollina
test: restore websocket test compatibility on Node 18
8e094d7
- replace t.assert usage with node:assert in websocket tests so they work on Node 18\n- reduce the disabled-limit payload size in permessage-deflate-limit to avoid CI timeouts\n- remove an extra blank line in lib/dispatcher/agent.js to satisfy standard

Signed-off-by: Matteo Collina <[email protected]>
@mcollina
mcollina merged commit 7917b25 into v6.x May 18, 2026
33 of 34 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mcollina
mcollina deleted the backport-5273-to-v6.x branch May 18, 2026 17:32
@github-actions github-actions Bot mentioned this pull request May 25, 2026
[Release] v6.26.0 #5323
Merged
@snsutton snsutton mentioned this pull request Jul 10, 2026
Upgrade axios, discord.js, express to clear 37 reachable dependency alerts snsutton/music-leek#29
Merged
@mtrezza mtrezza mentioned this pull request Sep 26, 2026
refactor: Bump npm from 11.18.0 to 11.20.0 and undici from 7.24.6 to 7.30.0 parse-community/parse-server-api-mail-adapter#287
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@metcoder95 metcoder95 metcoder95 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mcollina @metcoder95
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.