auth/vendor/github.com/valyala/fasthttp/tcp.go

14 lines
177 B
Go

//go:build !windows
// +build !windows
package fasthttp
import (
"errors"
"syscall"
)
func isConnectionReset(err error) bool {
return errors.Is(err, syscall.ECONNRESET)
}