Skip to content

fix(proxy): close CONNECT tunnels when the tailnet side closes - #158

Closed
dantraynor wants to merge 1 commit into
fix/install-ps1-gh-probesfrom
fix/connect-tunnel-close
Closed

dantraynor wants to merge 1 commit into
fix/install-ps1-gh-probesfrom
fix/connect-tunnel-close

Conversation

@dantraynor

@dantraynor dantraynor commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

The hijacked connection comes from proxymux, whose wrapper only exposes
net.Conn methods, so the CloseWrite half-close never ran. When the tailnet
side closed, the browser kept a dead pooled connection open and the next
request on it hung. Close the client outright when it cannot half-close.

Fixes #152
@dantraynor
dantraynor added this pull request to stack #161 October 22, 2026 06:29
@dantraynor dantraynor closed this Oct 22, 2026
@dantraynor
dantraynor deleted the fix/connect-tunnel-close branch October 22, 2026 06:36
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