Skip to content

Commit

Permalink
go mod: replace github.com/panjf2000/gnet/v2 v2.2.2 with github.com/e…
Browse files Browse the repository at this point in the history
…osswedenorg-go/gnet/v2 v2.2.2-kqueue-fix

There is a bug in panjf2000/gnet currently that affects compilation on BSD 32-bit systems. Its temporary fixes in eosswedenorg-go/gnet fork.
  • Loading branch information
pnx committed Jan 5, 2023
1 parent 1f6811c commit b9b1e71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ require (
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/panjf2000/gnet/v2 v2.2.2 => github.com/eosswedenorg-go/gnet/v2 v2.2.2-kqueue-fix
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/eosswedenorg-go/atomicasset v0.1.0 h1:HRxFO7tOdyyygbxJjPm810x09sOUPbJW6pleslAjU+c=
github.com/eosswedenorg-go/atomicasset v0.1.0/go.mod h1:QWm39AIPrv0CsYI2SRajNxpRyrHg5kcQwa/a0hf0wVo=
github.com/eosswedenorg-go/gnet/v2 v2.2.2-kqueue-fix h1:QfRhEvWAJtsEsFNMDW5gz3mi/TujRFp/IzrTIwUOqrQ=
github.com/eosswedenorg-go/gnet/v2 v2.2.2-kqueue-fix/go.mod h1:Q34YBnJNDFLsVBC4TiGD3uN+imoXrunFnecs/4FYcx4=
github.com/eosswedenorg-go/haproxy v1.0.1 h1:N9tyQSvEDG9Fq+gBP0b7A8R5iZAqYCms2K6Nvqq8TfE=
github.com/eosswedenorg-go/haproxy v1.0.1/go.mod h1:rBXDRd72ifA/IvsZUpW8Q4gR5rbV/4DAuKC/lqDrwWQ=
github.com/eosswedenorg-go/leapapi v0.2.2 h1:gNS36V261Y21QjevQ13UV9glb7WbDgdGPbiJzUI/opA=
Expand Down Expand Up @@ -160,8 +162,6 @@ github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je4
github.com/onsi/gomega v1.24.1 h1:KORJXNNTzJXzu4ScJWssJfJMnJ+2QJqhoQSRwNlze9E=
github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
github.com/panjf2000/ants/v2 v2.7.1 h1:qBy5lfSdbxvrR0yUnZfaEDjf0FlCw4ufsbcsxmE7r+M=
github.com/panjf2000/gnet/v2 v2.2.2 h1:pTPX34uFB7VMl2p5k/7WspNu58oRqFYq1n6XUhaiBn0=
github.com/panjf2000/gnet/v2 v2.2.2/go.mod h1:Q34YBnJNDFLsVBC4TiGD3uN+imoXrunFnecs/4FYcx4=
github.com/pborman/getopt/v2 v2.1.0 h1:eNfR+r+dWLdWmV8g5OlpyrTYHkhVNxHBdN2cCrJmOEA=
github.com/pborman/getopt/v2 v2.1.0/go.mod h1:4NtW75ny4eBw9fO1bhtNdYTlZKYX5/tBLtsOpwKIKd0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down

0 comments on commit b9b1e71

Please sign in to comment.