Skip to content

Sync v3.59.0#24

Merged
danielboros merged 6 commits into
bnn-reqfrom
sync-v3.59.0
Jul 8, 2026
Merged

Sync v3.59.0#24
danielboros merged 6 commits into
bnn-reqfrom
sync-v3.59.0

Conversation

@danielboros

Copy link
Copy Markdown
Collaborator

No description provided.

imroc and others added 6 commits July 1, 2026 23:52
quic-go v0.60.0 corrected the qlog field spelling from QuaterStreamID
to QuarterStreamID (PR #5590). Update internal/http3/conn.go to match.

Since quic-go v0.60.0 requires Go 1.25+, bump go.mod directive to
1.25.0 and update CI matrix to test 1.25.x and 1.26.x.

Fixes imroc#500
Beyond the QuarterStreamID field rename, sync all other http3 changes
from quic-go v0.59.0 → v0.60.0:

headers.go:
- Extract validateHeaderFieldNameAndValue, validateRegularHeaderField,
  validateTrailerHeaderField helper functions
- parseTrailers: add sizeLimit parameter with per-field size accounting
  and errHeaderTooLarge check
- Add validateTrailerHeaderField check in parseTrailers
- Add validExtendedConnectProtocol function (RFC 9220)
- Use strings.SplitSeq in extractAnnouncedTrailers
- Add RFC 9220 comment on :protocol pseudo header

request_writer.go:
- Validate extended CONNECT :protocol using validExtendedConnectProtocol

conn.go:
- Update decodeTrailers to pass maxHeaderBytes as sizeLimit and use
  conditional headerFields pointer for parseTrailers

Not synced (not applicable to req's client-only vendored http3):
- conn.go qloggerWG.Go refactor (req removed qloggerWG WaitGroup)
- server.go wg.Go refactor (req has no server logic)
- response_writer.go changes (req has no response_writer.go)
Add explicit step-by-step process for syncing upstream changes
(quic-go / net/http / http2) to prevent incomplete syncs where only
the compile error is fixed but other upstream changes are missed.

Key addition: 'compilation passes ≠ sync complete' — must diff all
non-test files, sync each one, and explicitly document skipped items.
port quic-go v0.60.0: fix QuarterStreamID field rename
@danielboros danielboros requested a review from mrandronov July 8, 2026 17:27
@danielboros danielboros merged commit bf7f02d into bnn-req Jul 8, 2026
1 check passed
@danielboros danielboros deleted the sync-v3.59.0 branch July 8, 2026 17:59
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