Better HTTP/1 connection reuse
Deep dive 7 min +70 XP
Go 1.27's net/http.Transport now asynchronously drains unread HTTP/1 response bodies, up to 50 ms or 256 KB, before closing them.
Go 1.27's net/http.Transport now asynchronously drains unread HTTP/1 response bodies, up to 50 ms or 256 KB, before closing them.