Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: misleading description of Transport.DisableKeepAlives field #26128
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
There are two types of keep-alives: HTTP keep-alives and TCP keep-alives. HTTP almost always runs on top of TCP, so it's not inaccurate to use "TCP" in the description of HTTP keep-alives. The docs you cite never said "TCP keep-alives". It says:
I really don't think there's any problem here, but I'll add a sentence.