Skip to content

Commit

Permalink
net: implement IsConnectionBrokenError for Plan 9
Browse files Browse the repository at this point in the history
  • Loading branch information
erenberg authored and jkralik committed Feb 2, 2024
1 parent f8d6fad commit 51f2671
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions net/error_plan9.go
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 51f2671

Please sign in to comment.