gnet @ v2.4.0
integrity
- size
- 175.0 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/panjf2000/gnet/v2
release notes
🚀 Features
- opt: mitigate the latency issue by prioritizing asynchronous writes (#563)
- feat: enable OnOpen for connected UDP socket (#554)
- feat: add DialContext and EnrollContext for Client (#543)
🛩 Enhancements
- opt: mitigate the latency issue by prioritizing asynchronous writes (#563)
- feat: enable OnOpen for connected UDP socket (#554)
- opt: use accept4 where available (#535)
- bug: read the remaining data after the peer wrote and closed on BSD (#531)
- opt: make TCP Keep-Alives settings practicable (#522)
- opt: eliminate error logs when the service exits normally (#500)
🐛 Bugfixes
- bug: fix the memory leaks of localAddr and remoteAddr in conn (#547) a3a2b7af26a3a9a4d98b0fe48ba2f32b8a2ec918
- bug: read the remaining data after the peer wrote and closed on BSD (#531)
- bug: fix the inconsistent behaviors on Windows (#510)
- bug: make logging package concurrent-safe (#487)
📚 Documentation
- doc: update to the latest Round 22 of TechEmpower Benchmark 6d01da7dca7dcbf4348195ee1d5c7dce2a4e7020
- bug: fix the inconsistent behaviors on Windows (#510)
- chore: add a TODO about removing the callback in Conn.AsyncWrite with UDP (#494)
🗃 Misc
- ci: add a bot that translates non-English issues 6e3e0c33ec609d2cad50f5630130f4ff274c550e f7cfb5b7992e038dc0d9dd45a33e18ac1d9d3ac0
- chore: switch from Gitter to Discord 5d1cf9ebd4a67205ddd34a03f307f72ed425aa2e
- mod: bump up a few modules 1bf7af470a92967915431f83f74a67ac4244c118
- dep: bump up a few dependencies and enable more auto-labelers in CI (#504)
- chore: consolidate the import declarations of the internal error package (#501)
- chore: do some chores on tests and comments (#499)
- chore: add a TODO about removing the callback in Conn.AsyncWrite with UDP (#494)
- chore: bump up modules (#493)
Full Changelog: https://github.com/panjf2000/gnet/compare/v2.3.0...v2.4.0
Thanks to all these contributors: @leslie-fei and @panjf2000 for making this release possible.
New Contributors
- @leslie-fei made their first contribution in https://github.com/panjf2000/gnet/pull/543
download
unix · zip
curl -fL -o v2.4.0.zip https://ratatoskr.space/pkg/gnet/v2.4.0.zip
printf '%s %s\n' '0f852a649aa3acd468d548e80fac44863933753c6228c14038403c8e3915a352' 'v2.4.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/gnet/v2.4.0.zip"
$out = "v2.4.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "0f852a649aa3acd468d548e80fac44863933753c6228c14038403c8e3915a352") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v2.4.0.tar.gz https://ratatoskr.space/pkg/gnet/v2.4.0.tar.gz
printf '%s %s\n' 'bb763a9ab8c48f09e7fb94e2471181eb77b006d1f276fd9606872dc5bf60a587' 'v2.4.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/gnet/v2.4.0.tar.gz"
$out = "v2.4.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "bb763a9ab8c48f09e7fb94e2471181eb77b006d1f276fd9606872dc5bf60a587") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v2.4.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.zip
printf '%s %s\n' '0f852a649aa3acd468d548e80fac44863933753c6228c14038403c8e3915a352' 'v2.4.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.zip"
$out = "v2.4.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "0f852a649aa3acd468d548e80fac44863933753c6228c14038403c8e3915a352") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v2.4.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.tar.gz
printf '%s %s\n' 'bb763a9ab8c48f09e7fb94e2471181eb77b006d1f276fd9606872dc5bf60a587' 'v2.4.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.tar.gz"
$out = "v2.4.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "bb763a9ab8c48f09e7fb94e2471181eb77b006d1f276fd9606872dc5bf60a587") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v2.4.0.zip | zip | 174.4 KiB |
blake3-24 7faeb971240d5a47fd1892347cd65bb0dce01dae69ca5782
sha256 0f852a649aa3acd468d548e80fac44863933753c6228c14038403c8e3915a352
sha1 bcac9d52ff1d987dfa4238e458a9a97eba8a62c1
|
| v2.4.0.tar.gz | tar.gz | 95.8 KiB |
blake3-24 d4feffdf609adaa1a13c3d267e57fa07a9795f3fada38382
sha256 bb763a9ab8c48f09e7fb94e2471181eb77b006d1f276fd9606872dc5bf60a587
sha1 e92277ce02c3e40136c36d897ac80733927f480f
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v2.4.0.zip | zip | 177.4 KiB |
blake3-24 312ffaed37aa2b6858fe5005b0d48cc0e434f1958b71964f
sha256 4186ee1ef858ffc7464f40a666b074b32f812b1653972e583e27e7e509c23f8a
sha1 a39095911d2a9978c4fe8cd78f548866ef4028d6
|
install
bazel
http_archive(
name = "gnet",
urls = ["https://ratatoskr.space/pkg/gnet/v2.4.0.tar.gz"],
integrity = "sha256-u3Y6mrjEjwnn+5TiRxGB63ewBtHydv2WBoctxb9gpYc=",
strip_prefix = "gnet-v2.4.0",
)
zig
.url = "https://ratatoskr.space/pkg/gnet/v2.4.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/gnet/v2@v2.4.0
install via yggdrasil mesh
bazel
http_archive(
name = "gnet",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.tar.gz"],
integrity = "sha256-u3Y6mrjEjwnn+5TiRxGB63ewBtHydv2WBoctxb9gpYc=",
strip_prefix = "gnet-v2.4.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2.4.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v2@v2.4.0