| 1 | package provider |
| 2 | |
| 3 | import "syscall" |
| 4 | |
| 5 | // Winsock reports a dropped peer with its own codes, which do not match the |
| 6 | // POSIX-style syscall.ECONNRESET under errors.Is. |
| 7 | var closedConnectionErrnos = []error{syscall.WSAECONNRESET, syscall.WSAECONNABORTED, syscall.ECONNRESET, syscall.ECONNABORTED} |
| 8 |