Skip to content

Commit 51f2671

Browse files
erenbergjkralik
authored andcommitted
net: implement IsConnectionBrokenError for Plan 9
1 parent f8d6fad commit 51f2671

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

net/error_plan9.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//go:build plan9
2+
// +build plan9
3+
4+
package net
5+
6+
// Check if error returned by operation on a socket failed because
7+
// the other side has closed the connection.
8+
func IsConnectionBrokenError(err error) bool {
9+
return false
10+
}

0 commit comments

Comments
 (0)