socket.go

 1//go:build !windows
 2
 3package server
 4
 5// isStaleSocketErr is the internal, non-Windows alias for the
 6// cross-platform IsStaleSocketErr. It is kept for the existing
 7// callers in net_other.go.
 8func isStaleSocketErr(err error) bool {
 9	return IsStaleSocketErr(err)
10}