diff --git a/net/error_plan9.go b/net/error_plan9.go new file mode 100644 index 00000000..f33b6a20 --- /dev/null +++ b/net/error_plan9.go @@ -0,0 +1,10 @@ +//go:build plan9 +// +build plan9 + +package net + +// Check if error returned by operation on a socket failed because +// the other side has closed the connection. +func IsConnectionBrokenError(err error) bool { + return false +}