Skip to content

upgrade quic-go to v0.59.0, fix Go 1.25 compatibility#485

Closed
DAcodedBEAT wants to merge 1 commit into
imroc:masterfrom
DAcodedBEAT:quic-go-0-59-0
Closed

upgrade quic-go to v0.59.0, fix Go 1.25 compatibility#485
DAcodedBEAT wants to merge 1 commit into
imroc:masterfrom
DAcodedBEAT:quic-go-0-59-0

Conversation

@DAcodedBEAT

Copy link
Copy Markdown

I noticed this as I was upgrading to go 1.25.6.

PR Includes:

  • Remove deprecated ConnectionTracingID/ConnectionTracingKey
  • Replace hijacker callbacks with RawClientConn (upstream API)
  • Fix SupportsDatagrams.Remote check
  • Add transport tests

Fixes #482

- Remove deprecated ConnectionTracingID/ConnectionTracingKey
- Replace hijacker callbacks with RawClientConn (upstream API)
- Fix SupportsDatagrams.Remote check
- Add transport tests

Fixes imroc#482
@DAcodedBEAT

DAcodedBEAT commented Jan 31, 2026

Copy link
Copy Markdown
Author

For those following along,

if you want to use this change, feel free to run:

go mod edit -replace=github.com/imroc/req/v3=github.com/CorkCyber/req/v3@quic-go-0-59-0
go mod tidy

And to revert once upstream has the fix:

go mod edit -dropreplace github.com/imroc/req/v3                                                                                                                                                                                                  
go get github.com/imroc/req/v3@latest
go mod tidy

update(2026.02.20) : edited replace to be all CLI driven via go mod 👍

@nomad-software

Copy link
Copy Markdown

@imroc Hi, have you got any time to merge this please? 🙏

@marvin-w

Copy link
Copy Markdown

Would be awesome if we can get this merged :)

@RonaldinhoL

Copy link
Copy Markdown
Contributor

it is not active for longtime

@h2zi

h2zi commented Mar 6, 2026

Copy link
Copy Markdown

@imroc Can you take a look at this?

@nomad-software

Copy link
Copy Markdown

@imroc Can we get this merged please? 🙏

@duzhipeng

Copy link
Copy Markdown

Does anyone know what's going on? Why is the library author taking so long to approve this merge?

@josemaranciba

Copy link
Copy Markdown

@imroc 🙏

@kaylee595

Copy link
Copy Markdown

@imroc 可以抽些时间合并一下PR吗🙏🙏🙏

imroc added a commit that referenced this pull request Jun 27, 2026
- Remove deprecated ConnectionTracingID/ConnectionTracingKey
- Remove stream hijacking API (StreamHijacker/UniStreamHijacker)
- Replace handleUnidirectionalStreams loop with handleUnidirectionalStream
  per-stream callback, add startUnidirectionalStreamAcceptLoop
- Add RawClientConn for fine-grained stream control (WebTransport etc.)
- Add HandleBidirectionalStream (closes conn per RFC 9114)
- Move rcvdControlStr/rcvdQPACKEncoderStr/rcvdQPACKDecoderStr to Conn struct
- Fix SupportsDatagrams -> SupportsDatagrams.Remote
- Move atomic.Bool tracking from local vars to Conn struct fields

Aligns with quic-go v0.59.0 breaking changes (#5508, #5509, #5512, #5521, #5533).
Fixes #482.

Reviewed PR #485 by DAcodedBEAT, verified modified-code compatibility.
@imroc

imroc commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Thanks @DAcodedBEAT for this PR! It was used as a reference for the fix that was merged in commit 8b018a5. The quic-go v0.59.0 port is now live on master. Closing this in favor of the merged fix.

@imroc imroc closed this Jun 27, 2026
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.

Adapt to removal of ConnectionTracingID and ConnectionTracingKey in quic-go v0.59.0

9 participants