mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
11 lines
140 B
Go
11 lines
140 B
Go
package fasthttp
|
|
|
|
import (
|
|
"errors"
|
|
"syscall"
|
|
)
|
|
|
|
func isConnectionReset(err error) bool {
|
|
return errors.Is(err, syscall.WSAECONNRESET)
|
|
}
|