mirror of
https://github.com/golang/go.git
synced 2025-05-28 10:51:22 +00:00
Change-Id: Ib7666b3df1d7190772748129c349d4dc7046ca5b Reviewed-on: https://go-review.googlesource.com/c/go/+/571795 TryBot-Bypass: Russ Cox <rsc@golang.org> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
316 B
316 B
The new type KeepAliveConfig
permits fine-tuning
the keep-alive options for TCP connections, via a new
TCPConn.SetKeepAliveConfig
method and
new KeepAliveConfig fields for Dialer
and ListenConfig
.