gnet @ v1.3.0
integrity
- size
- 1.1 MiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/panjf2000/gnet
release notes
Features
- Determine logging mode by environment variable 2a7977feb33ba18f0c9d788dc611e85154df8548
- Support locking each I/O event-loop goroutine to an OS thread 6fd6413920618f8cd9906923bd5768a43ce1c3b7
Enhancements
- Improve the implementation of Least-Connections load-balancing b6a5f564a9eea9c3fbb977c5ef3c8163689a63d0
- Speed up the Least-Connections load-balancing b5fbbdac59588572b4a6e8c26bb6049cfd9b7211
- Leverage system calls instead of
netpackage to create listeners ccc8c649f380c546242251911040c8935a2cbb57 - Refine the logging module f46da440d6435831558a1e8cbbd3f20a5ed2d773
- Reorg errors in gnet 1c2f4b0c5127a4f40b5f635d604212a33e45a220
- Move logging module into internal package 00af504ed00ab0ecb6477956ef4fe81f1dadd66e
- Take off the codec from eventloop bc85c34e5f347fa055b5fea1ecb84fbbdf85ef91
- Refactor for buffer in Conn 455c5ae5241e0875fc79a9338fefc38b4a5c17bc
- Refactor the load-balancing algorithm of source addr hash abbf5820c1d264fa22e8bf8d00755d6093a86767
- Make channel buffered if necessary 43f93ca57010dbb9b87f07928400301e487af65e
Bugfixes
- Fix a bug that led to negative counter of sync.WaitGroup on Windows 16ed4ab6719b70b396b47d5d51c1f70f44e1205a
- Add "windows" build tag under SO_REUSEPORT mode 7862f3e2cb60554928c2d22f66213916dd69dbee
- Supplement all the formal protocol formats of TCP and UDP 258253c7813a6577e338561f0c3da1bd7c5e57da
- Resolve the issue of closing one fd twice b5a5c715ca07f8b4e3c371a8460274e77953bbdf
- Fix concurrent loopCloseConn causes panic (#111)
- Eliminate duplicate calls to loopCloseConn a72f5fd30757fa51cad4ad10c9583468c450b68e
Docs
- Add a customized codec example (#90)
- Add placeholder for user cases and new relevant article 5197f186792670851ddcfdbe94b5317196e3ef6a
- Renew results of techempower benchmark 61eee8fa29105002d2e1af17d2c1afc54001c6be
- Add the list of donors 42e04ddc6ba2299ab89d107d2731725dacb31dcf
- Add xs:code 33a3e5744e0c3c6c3ac1d3d965eabc5c5a93307d
- Build an official website for gnet 49363cd41c73852bf52807a59b980ff2968f2e46
- Move the majority of content to website and simplify READMEs 903ff8433d2d635f86b366b79eb304915c3fa662
Misc
- Fix a typo and improve code comments 37d75cce99609c9c17f25df2f6cfbfd3cf212ef8
- Use SyscallError to wrap system calls errors c3907e00e2bb725cc4616587fb2e52f1c74c5999
- Refine
go buildtags of operating systems 637144b487d4fa4f0a3ef40a2dada40586e188b5 - Format copyright info 6872c20ab7c97342512149843322ff6111003ec3
- Remove all examples from the source-code repo a704e0683e9c261c9f1e49c7443086068160fed2
- refine the usage of os.NewSyscallError 2d54d80f42a6fa8e293db63a35033e1daa60cd56
download
unix · zip
curl -fL -o v1.3.0.zip https://ratatoskr.space/pkg/gnet/v1.3.0.zip
printf '%s %s\n' 'cb95b1ea626ca3992aeae4d072e1acf162777d3f2eb3c5a849c655927bb863ab' 'v1.3.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/gnet/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "cb95b1ea626ca3992aeae4d072e1acf162777d3f2eb3c5a849c655927bb863ab") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.3.0.tar.gz https://ratatoskr.space/pkg/gnet/v1.3.0.tar.gz
printf '%s %s\n' 'e710369db4af84ee8d09bdd37ad9b749fa5109388e0aa023f3c2c124fece0a58' 'v1.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/gnet/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e710369db4af84ee8d09bdd37ad9b749fa5109388e0aa023f3c2c124fece0a58") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.zip
printf '%s %s\n' 'cb95b1ea626ca3992aeae4d072e1acf162777d3f2eb3c5a849c655927bb863ab' 'v1.3.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "cb95b1ea626ca3992aeae4d072e1acf162777d3f2eb3c5a849c655927bb863ab") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.tar.gz
printf '%s %s\n' 'e710369db4af84ee8d09bdd37ad9b749fa5109388e0aa023f3c2c124fece0a58' 'v1.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e710369db4af84ee8d09bdd37ad9b749fa5109388e0aa023f3c2c124fece0a58") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.3.0.zip | zip | 1.1 MiB |
blake3-24 98aef7edbb0ccba87aab94a9bbcd4af1796395c76799e01d
sha256 cb95b1ea626ca3992aeae4d072e1acf162777d3f2eb3c5a849c655927bb863ab
sha1 765cc1fae58439e133c46dd0943ebc79106683f2
|
| v1.3.0.tar.gz | tar.gz | 980.3 KiB |
blake3-24 7d743bf24d2c737269ff6734f940bc4041bc29c4b59b0ac6
sha256 e710369db4af84ee8d09bdd37ad9b749fa5109388e0aa023f3c2c124fece0a58
sha1 ed5ac7eae5ec03f350adabf1634662e1d583de11
|
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 |
|---|---|---|---|
| v1.3.0.zip | zip | 1.1 MiB |
blake3-24 56b477e3fe4a1896c323bfba16cbb7d31347a5ac48f9d027
sha256 1b343d6a4916888412bcc3b80c43beaab62062d3310906ac99e21b140bc56d68
sha1 620f68456ba0234a27441e79e5c891f451fb9b02
|
install
bazel
http_archive(
name = "gnet",
urls = ["https://ratatoskr.space/pkg/gnet/v1.3.0.tar.gz"],
integrity = "sha256-5xA2nbSvhO6NCb3Tetm3SfpRCTiOCqAj88LBJP7OClg=",
strip_prefix = "gnet-v1.3.0",
)
zig
.url = "https://ratatoskr.space/pkg/gnet/v1.3.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/gnet@v1.3.0
install via yggdrasil mesh
bazel
http_archive(
name = "gnet",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.tar.gz"],
integrity = "sha256-5xA2nbSvhO6NCb3Tetm3SfpRCTiOCqAj88LBJP7OClg=",
strip_prefix = "gnet-v1.3.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.3.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet@v1.3.0