fasthttp @ v1.56.0
integrity
- size
- 305.0 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/valyala/fasthttp
release notes
What's Changed
- fix: add timeout to proxy connection reading and writing by @Sniper91 in https://github.com/valyala/fasthttp/pull/1791
- Validate header values by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1796
- chore(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1800
- chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1802
- chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1801
- Optimize struct field order to reduce memory usage by @ksw2000 in https://github.com/valyala/fasthttp/pull/1809
- Fix possible race condition on request ctx done #1662 by @byte0o in https://github.com/valyala/fasthttp/pull/1806
- Fix header parser (#1808) by @ksw2000 in https://github.com/valyala/fasthttp/pull/1810
- Replace custom AppendUint with strconv.AppendUint by @gaby in https://github.com/valyala/fasthttp/pull/1813
- Use Named Fields and Align Structures to Reduce Memory Usage by @gaby in https://github.com/valyala/fasthttp/pull/1814
- chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1820
- chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1821
- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1823
- StreamRequestBody shouldn't read more data than actual need. by @newacorn in https://github.com/valyala/fasthttp/pull/1819
- Reduce the size of ResponseHeader and RequestHeader by @ksw2000 in https://github.com/valyala/fasthttp/pull/1826
- A response without a body can't have trailers by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1825
- TestHostClientMaxConnWaitTimeoutError test case sometimes fails by @newacorn in https://github.com/valyala/fasthttp/pull/1832
- Fix the MaxConns semaphore issue in HostClient. by @newacorn in https://github.com/valyala/fasthttp/pull/1831
- Add a dedicated cache container for the zstd compression algorithm by @newacorn in https://github.com/valyala/fasthttp/pull/1828
- We cannot avoid continuing to call SetReadDeadline and similar methods after the connection is closed. by @newacorn in https://github.com/valyala/fasthttp/pull/1835
- Remove support for go 1.19 and 1.20, and add support for 1.23 by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1837
- Merge the various proxy dialer implementations from the fasthttpproxy into a single struct. by @newacorn in https://github.com/valyala/fasthttp/pull/1829
- Make RetryIfFunc handle request errors by @ksw2000 in https://github.com/valyala/fasthttp/pull/1818
- Using atomic instead of mutex and delete scratch slice by @NikoMalik in https://github.com/valyala/fasthttp/pull/1833
- Fix Different request paths share the same
fscache is some cases. by @newacorn in https://github.com/valyala/fasthttp/pull/1843 - Make the tests complete earlier. by @newacorn in https://github.com/valyala/fasthttp/pull/1848
- Fix potential data race reports when the
-raceflag is enabled. by @newacorn in https://github.com/valyala/fasthttp/pull/1847 - Fix issues with tests interfering with each other in certain situations. by @newacorn in https://github.com/valyala/fasthttp/pull/1842
- When
StreamRequestBodyis set totrue, we cannot safely releasebrby @newacorn in https://github.com/valyala/fasthttp/pull/1844 - Revert Pull 1233 fix: The client write operation did not immediately return upon encountering an RST packet. by @newacorn in https://github.com/valyala/fasthttp/pull/1849
- RetryIf might need more information and greater control over the execution flow. by @newacorn in https://github.com/valyala/fasthttp/pull/1850
- Sorry about forgetting to remove a redundant field and clarify the comments. by @newacorn in https://github.com/valyala/fasthttp/pull/1851
- chore(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1858
- chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1857
- chore(deps): bump securego/gosec from 2.20.0 to 2.21.1 by @dependabot in https://github.com/valyala/fasthttp/pull/1855
- chore(deps): bump securego/gosec from 2.21.1 to 2.21.2 by @dependabot in https://github.com/valyala/fasthttp/pull/1861
- Revert "Using atomic instead of mutex and delete scratch slice" by @newacorn in https://github.com/valyala/fasthttp/pull/1846
- Fix improper memory reuse in NewFastHTTPHandler by @sigmundxia in https://github.com/valyala/fasthttp/pull/1860
- Improve the performance of ConnState.String() by @ksw2000 in https://github.com/valyala/fasthttp/pull/1871
- chore(deps): bump securego/gosec from 2.21.2 to 2.21.3 by @dependabot in https://github.com/valyala/fasthttp/pull/1870
- Reduce the size of the Cookie by 32 bytes. by @ksw2000 in https://github.com/valyala/fasthttp/pull/1866
- fix: type assertion to perIPTLSConn instead of erroneous perIPConn by @KSpaceer in https://github.com/valyala/fasthttp/pull/1863
- Improve performance of ParseUfloat by @ksw2000 in https://github.com/valyala/fasthttp/pull/1865
New Contributors
- @Sniper91 made their first contribution in https://github.com/valyala/fasthttp/pull/1791
- @ksw2000 made their first contribution in https://github.com/valyala/fasthttp/pull/1809
- @newacorn made their first contribution in https://github.com/valyala/fasthttp/pull/1819
- @NikoMalik made their first contribution in https://github.com/valyala/fasthttp/pull/1833
- @sigmundxia made their first contribution in https://github.com/valyala/fasthttp/pull/1860
- @KSpaceer made their first contribution in https://github.com/valyala/fasthttp/pull/1863
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.55.0...v1.56.0
download
unix · zip
curl -fL -o v1.56.0.zip https://ratatoskr.space/pkg/fasthttp/v1.56.0.zip
printf '%s %s\n' '5aa745146fa520d216971c9dbed3521543ff66c90253d028d9def33006732571' 'v1.56.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/fasthttp/v1.56.0.zip"
$out = "v1.56.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "5aa745146fa520d216971c9dbed3521543ff66c90253d028d9def33006732571") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.56.0.tar.gz https://ratatoskr.space/pkg/fasthttp/v1.56.0.tar.gz
printf '%s %s\n' '06c523ec699ef831ba34bc502833d3ea993495ce76e5ec40a3f8866fe3605313' 'v1.56.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/fasthttp/v1.56.0.tar.gz"
$out = "v1.56.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "06c523ec699ef831ba34bc502833d3ea993495ce76e5ec40a3f8866fe3605313") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.56.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.zip
printf '%s %s\n' '5aa745146fa520d216971c9dbed3521543ff66c90253d028d9def33006732571' 'v1.56.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.zip"
$out = "v1.56.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "5aa745146fa520d216971c9dbed3521543ff66c90253d028d9def33006732571") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.56.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.tar.gz
printf '%s %s\n' '06c523ec699ef831ba34bc502833d3ea993495ce76e5ec40a3f8866fe3605313' 'v1.56.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.tar.gz"
$out = "v1.56.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "06c523ec699ef831ba34bc502833d3ea993495ce76e5ec40a3f8866fe3605313") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.56.0.zip | zip | 308.6 KiB |
blake3-24 5b09a273454ebfd262271f0ee132cc0bb9eb826b489e8aab
sha256 5aa745146fa520d216971c9dbed3521543ff66c90253d028d9def33006732571
sha1 0824a273ad49367fdd2bd0c0352e3d15d93c9c4c
|
| v1.56.0.tar.gz | tar.gz | 253.8 KiB |
blake3-24 4813ea2767aff8cb066bf06f2e3dc593690d58a684be6187
sha256 06c523ec699ef831ba34bc502833d3ea993495ce76e5ec40a3f8866fe3605313
sha1 7c62af501e3cbc82e75028c3573854dc3b51bf96
|
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.56.0.zip | zip | 312.0 KiB |
blake3-24 4eea95587c3bbc03ad4fdae2d972efd2ace19f481c28a83b
sha256 c583886761be8506cc58f0127ec11d2940fb47268d4c5a68f24f004e4e7aad49
sha1 6bfa88da01f6148f5f9b851a7091f9e2a6906266
|
install
bazel
http_archive(
name = "fasthttp",
urls = ["https://ratatoskr.space/pkg/fasthttp/v1.56.0.tar.gz"],
integrity = "sha256-BsUj7Gme+DG6NLxQKDPT6pk0lc525exAo/iGb+NgUxM=",
strip_prefix = "fasthttp-v1.56.0",
)
zig
.url = "https://ratatoskr.space/pkg/fasthttp/v1.56.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/fasthttp@v1.56.0
install via yggdrasil mesh
bazel
http_archive(
name = "fasthttp",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.tar.gz"],
integrity = "sha256-BsUj7Gme+DG6NLxQKDPT6pk0lc525exAo/iGb+NgUxM=",
strip_prefix = "fasthttp-v1.56.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.56.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp@v1.56.0