Skip to content

Commit d411231

Browse files
panjf2000gopherbot
authored andcommitted
net: harmonize the time units used for TCP keep-alive on DragonFly and other UNIX's by seconds
Follows up CL 542275 Fixes #65809 Change-Id: Iba01efb4ff0fbb7a67840875322f0338337ebb78 Reviewed-on: https://go-review.googlesource.com/c/go/+/565315 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Andy Pan <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 1a8ee03 commit d411231

File tree

4 files changed

+2
-147
lines changed

4 files changed

+2
-147
lines changed

src/net/tcpconn_keepalive_dragonfly_test.go

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/net/tcpconn_keepalive_unix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build aix || freebsd || linux || netbsd
5+
//go:build aix || dragonfly || freebsd || linux || netbsd
66

77
package net
88

src/net/tcpsockopt_dragonfly.go

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/net/tcpsockopt_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build aix || freebsd || linux || netbsd
5+
//go:build aix || dragonfly || freebsd || linux || netbsd
66

77
package net
88

0 commit comments

Comments
 (0)