diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2021-06-18 13:36:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 13:36:54 +0200 |
commit | 87fc95849cd9ec7ffb3555bd7ec6317865902241 (patch) | |
tree | 7da68d05a3da0ef5c9fabcd3bd0da39edb1df9b6 /prefork/prefork.go | |
parent | Defined Transport for the client (#1045) (diff) | |
download | fasthttp-87fc95849cd9ec7ffb3555bd7ec6317865902241.tar.gz fasthttp-87fc95849cd9ec7ffb3555bd7ec6317865902241.tar.bz2 fasthttp-87fc95849cd9ec7ffb3555bd7ec6317865902241.zip |
Run go test on github actions (#1047)
* Run go test on github actions
travis-ci.org has stopped.
See also: https://github.com/curl/curl/issues/7150
Downside: github actions don't support ppc64le
* Run less
* delete .travis.yml
* Remove travis + minor lint fixes
Diffstat (limited to 'prefork/prefork.go')
-rw-r--r-- | prefork/prefork.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/prefork/prefork.go b/prefork/prefork.go index 9ace2ed..dc08b76 100644 --- a/prefork/prefork.go +++ b/prefork/prefork.go @@ -22,7 +22,9 @@ var ( defaultLogger = Logger(log.New(os.Stderr, "", log.LstdFlags)) // ErrOverRecovery is returned when the times of starting over child prefork processes exceed // the threshold. - ErrOverRecovery = errors.New("exceeding the value of RecoverThreshold") + ErrOverRecovery = errors.New("exceeding the value of RecoverThreshold") + + // ErrOnlyReuseportOnWindows is returned when Reuseport is false. ErrOnlyReuseportOnWindows = errors.New("windows only supports Reuseport = true") ) |