tailscale/wgengine/netstack
Naman Sood 04d24cdbd4
wgengine/netstack: correctly proxy half-closed TCP connections
TCP connections are two unidirectional data streams, and if one of these
streams closes, we should not assume the other half is closed as well.
For example, if an HTTP client closes its write half of the connection
early, it may still be expecting to receive data on its read half, so we
should keep the server -> client half of the connection open, while
terminating the client -> server half.

Fixes tailscale/corp#29837.

Signed-off-by: Naman Sood <mail@nsood.in>
2025-07-07 15:36:16 -04:00
..
gro Fix various linting, vet & static check issues 2025-01-04 15:11:10 -08:00
link_endpoint.go wgengine/netstack: block link writes when full rather than drop 2025-02-06 16:17:25 -08:00
netstack_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstack_tcpbuf_default.go wgengine/netstack: increase gVisor's TCP send and receive buffer sizes (#12994) 2024-08-02 15:50:47 -07:00
netstack_tcpbuf_ios.go wgengine/netstack: increase gVisor's TCP send and receive buffer sizes (#12994) 2024-08-02 15:50:47 -07:00
netstack_test.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netstack_userping_apple.go various: fix lint warnings 2024-06-06 17:06:54 -04:00
netstack_userping_test.go wgengine/netstack: check userspace ping success on Windows 2024-10-03 09:07:39 -07:00
netstack_userping.go wgengine/netstack: check userspace ping success on Windows 2024-10-03 09:07:39 -07:00
netstack.go wgengine/netstack: correctly proxy half-closed TCP connections 2025-07-07 15:36:16 -04:00