Better HTTP/1 connection reuse
Go 1.27 includes a change to the HTTP client that can make programs sending many sequential HTTP/1 requests significantly faster.
Quick read
A Go blog post explaining that Go 1.27 improves HTTP/1 connection reuse by automatically draining unread response bodies. This reduces repeated TCP/TLS setup costs so programs making many sequential HTTP/1 requests run much faster.
- Automatic asynchronous draining of unread HTTP/1 bodies
- Drains up to 50 ms or 256 KB to preserve connections
- Skips draining when Connection: close is present
Reactions
No reactions yet. Record a short about this link and it shows up here, in Reels and in the community feed.
Is go.dev your site? Sign in to verify it and get a Verified badge, full stats and a link-back badge.
A closer look at Better HTTP/1 connection reuse
What this page describes
A change in Go 1.27’s net/http client that improves HTTP/1 connection reuse by automatically handling unread response bodies.
The page explains why opening new TCP and TLS connections is expensive (several round trips) and how reusing connections avoids that cost.
What the client actually does now
net/http.Transport in Go 1.27 will asynchronously drain an unread HTTP/1 response body for up to 50 ms or 256 KB to allow the connection to be reused.
It skips draining when the response has a Connection: close header, and includes other optimizations to reduce wasted work.
Who benefits and why it matters
Programs that make many sequential HTTP/1 requests and either ignore or only partially read response bodies will see fewer new connections opened and better latency.
Developers who previously implemented manual draining or complex time/byte caps can simplify their code because the Transport now handles common draining logic automatically.
Questions people ask about Better HTTP/1 connection reuse
- Does this change apply to HTTP/2?
- No; HTTP/2 multiplexes requests on a single connection and does not suffer from the unread-body blocking issue described for HTTP/1.
- What are the limits the Transport uses when draining?
- The Transport will drain up to 50 ms of data or 256 KB of body bytes, whichever limit is hit first.
- Will the Transport always drain unread bodies?
- It will automatically attempt asynchronous draining for HTTP/1 responses but will skip draining when the response has a Connection: close header.
What we found on this site
- Home page answered in
- 65 ms
- Trackers
- Google Tag Manager
- Ads
- None found
- RSS feed
- Yes
- AI crawlers
- Lets them in
- Set up for phones
- Yes
- Real-visitor speed
- Passes Core Web Vitals
- Popularity
- Top 5,000 domain (Cloudflare)
- Lighthouse on a phone
- Speed 72, Accessibility 91, SEO 92
- Google safety check
- No threats found
- Domain registered
- 2019
- Domain renews
- February 2027
Checked November 20, 2026 from the site’s own code and public records. See how the rest of the web compares in the NexURLs Internet Report.
Sites like Better HTTP/1 connection reuse
- A new Go API for JSONgo.dev
This post announces Go 1.27’s stable, new JSON packages: encoding/json/v2 and encoding/json/jsontext, explaining why...
- What's new in Node.js 27nodejsdesignpatterns.com
A detailed blog post summarizing the new features, runtime changes, and upgrade considerations in Node.js 27. Read it...
- gohawk | Resource-focused static analysis for Gogohawk.dev
gohawk is an industrial-grade static analyzer for Go that detects resource management, concurrency, and error-handling...
- Microservices can work for low-latency workloads - if you design for itbencane.com
A blog post explaining how to design microservices for low-latency workloads by focusing on locality, connection...
- Download More RAMdownloadmoreram.com
A satirical website that jokes about a service for downloading RAM using fake tech buzzwords. Visit for humor, memes...
- Announcing NetBSD 11.1netbsd.org
This page announces the NetBSD 11.1 release, listing downloads, checksums, and upgrade instructions. It explains the...
More Tech & AI finds
- It's Time to Stop Taking Sam Altman at His Wordtheatlantic.com
- FBI Warns of AI-Powered Hacking Toolkltv.com
- Designed to Scaledesigned-to-scale.vercel.app
- DeepSeek Chat Demodeepseek-ai.github.io
- Apple’s Mac App for Running Local AI Models9to5mac.com
- Protecting SSH Keys with macOS Secure Enclavegatezh.com
Feeling lucky? Try the random website generator.
Where people went next
Nobody has added a next stop yet. Be the first.