mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-21 13:55:43 +00:00
13 lines
158 B
Go
13 lines
158 B
Go
//go:build !windows
|
|
|
|
package fasthttp
|
|
|
|
import (
|
|
"errors"
|
|
"syscall"
|
|
)
|
|
|
|
func isConnectionReset(err error) bool {
|
|
return errors.Is(err, syscall.ECONNRESET)
|
|
}
|