mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-22 04:32:40 +09:00
Go's HTTP/1 server closes the request body once the handler starts writing the response. The proxy's Transport may still be reading that body, and when its final read fails it closes the backend connection under the response it is copying. The client gets a truncated response. Fixes #21894 Signed-off-by: Brendan Creane <bcreane@gmail.com> Co-authored-by: Sam Jean <samj@tailscale.com>