Go Blog: Go 1.27 Drains Unread HTTP/1 Response Bodies on Close, Cutting a 100-Request Benchmark From About 710 ms to About 150 ms
A Go blog post says Go 1.27's net/http now drains unread HTTP/1 response bodies for up to 50 ms or 256 KB on close, so connections can be reused.