Fixes #18187
Change-Id: I3d0119838ddbfb99a067ba563e5d247f574ef841
Reviewed-on: https://go-review.googlesource.com/c/go/+/655517
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
// Close closes the connection.
// Any blocked Read or Write operations will be unblocked and return errors.
+ // Close may or may not block until any buffered data is sent;
+ // for TCP connections see [*TCPConn.SetLinger].
Close() error
// LocalAddr returns the local network address, if known.