Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net: incorrect docs on KeepAlive field of Dialer #29089
What version of Go are you using (
Looks like you introduced this confusion by fdfbb40; I should not miss reviewing the CL. People using KeepAlive of Dialer with a positive value assume that it represents an entire TCP keepalive period but it's actually a keepalive interval; the duration between keepalive probes. It's regrettable.