Skip to content

tcpproxy: support half-close with gvisor conns#46

Merged
raggi merged 1 commit intomasterfrom
raggi/gvisor-half-close
Jan 21, 2025
Merged

tcpproxy: support half-close with gvisor conns#46
raggi merged 1 commit intomasterfrom
raggi/gvisor-half-close

Conversation

@raggi
Copy link
Copy Markdown
Collaborator

@raggi raggi commented Jan 21, 2025

gonet.TCPConn implements CloseRead and CloseWrite, but it is not a net.TCPConn. Use an interface to look for CloseRead and CloseWrite so that they are called on gonet.TCPConn.

Updates tailscale/corp#25169

@raggi raggi requested a review from bradfitz January 21, 2025 17:57
gonet.TCPConn implements CloseRead and CloseWrite, but it is not a
net.TCPConn. Use an interface to look for CloseRead and CloseWrite so
that they are called on gonet.TCPConn.

Updates tailscale/corp#25169

Signed-off-by: James Tucker <jftucker@gmail.com>
@raggi raggi force-pushed the raggi/gvisor-half-close branch from 57fc2b5 to 878c2e4 Compare January 21, 2025 17:57
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.

2 participants