tcp_windows.go 140 B

12345678910
  1. package fasthttp
  2. import (
  3. "errors"
  4. "syscall"
  5. )
  6. func isConnectionReset(err error) bool {
  7. return errors.Is(err, syscall.WSAECONNRESET)
  8. }