Skip to content

Match QUICConn's NextEvent and Close in UQUICConn - #5

Merged
roachadam merged 1 commit into
masterfrom
fork/uquic-close-error
Oct 22, 2026
Merged

roachadam merged 1 commit into
masterfrom
fork/uquic-close-error

Conversation

@roachadam

Copy link
Copy Markdown
Owner

Close canceled the handshake but never read signalc, so a handshake blocked
waiting for peer data could not observe the cancellation and Close hung
forever. NextEvent never reported a failed handshake as QUICErrorEvent.

Apply Go's QUICConn versions of both: Close unblocks the handshake goroutine
before waiting for it, and NextEvent reports the handshake error once.

From MetaCubeX/utls 8853e10 ("keep in sync of UQUICConn and QUICConn").


Stacked on #1 (module path). Merge that first; GitHub then retargets this PR to master.

Close canceled the handshake but never read signalc, so a handshake blocked
waiting for peer data could not observe the cancellation and Close hung
forever. NextEvent never reported a failed handshake as QUICErrorEvent.

Apply Go's QUICConn versions of both: Close unblocks the handshake goroutine
before waiting for it, and NextEvent reports the handshake error once.

From MetaCubeX/utls 8853e10 ("keep in sync of UQUICConn and QUICConn").
Base automatically changed from fork/module-path to master October 22, 2026 20:57
@roachadam
roachadam merged commit 8260a03 into master Oct 22, 2026
@roachadam
roachadam deleted the fork/uquic-close-error branch October 22, 2026 21:09
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.

1 participant