yggvault ratatoskr-space connected via regular web
Color theme
also available via yggdrasil mesh http://[203:b338:2a84:a18f:986:47ae:1a4:d8d3]/pkg/fasthttp/v1.79.0
vault / fasthttp / v1.79.0

fasthttp @ v1.79.0

integrity

size
673.8 KiB
downloaded
last checked
overlays
go
detected
go module github.com/valyala/fasthttp
source https://github.com/valyala/fasthttp · available · github

release notes

v1.79.0 adds a WebSocket server and client package and direct access to HTTP trailer values. It also fixes cross-stream data leaks in compression, strengthens request forwarding and HTTP framing, and improves shutdown, multipart streaming, and static-file cache isolation.

Features

Security fixes and hardening

HTTP framing and connection handling

Other fixes report io.ErrShortWrite from affected writers and compression helpers, separate IPv4-only and dual-stack DNS cache entries, support HTTP proxy URLs with a trailing slash, and correct generated directory links, modification-time handling, and Windows CONNECT redirects. The Server.MaxRequestBodySize documentation now explains that buffered requests can reserve memory from the declared body size before payload data arrives.

Performance improvements

Buffered chunk sizes are parsed directly instead of using one ReadByte call per digit. In the PR's Apple M5 benchmarks, two-chunk responses took about 10% less time, two-chunk requests 9% less time, and bodies with 200 one-byte chunks 17% less time. Results varied by platform and code layout; readers delivering one byte per call were 2–3% slower on the tested AMD EPYC system. These are focused PR measurements, not a release-wide comparison. #2539

The new WebSocket implementation also reduces excess buffer capacity for large messages. In the follow-up PR's examples, reading a compressed 4 MiB message used a 4 MiB buffer instead of 16 MiB, and compressing 1 MiB of repetitive text used a 64 KiB output buffer instead of 2 MiB. #2545

What's Changed

Features

Performance

Security and hardening

HTTP framing, streaming, and connection handling

Adaptor fixes

Other fixes

Documentation

Dependency updates

New Contributors

Full Changelog: https://github.com/valyala/fasthttp/compare/v1.78.0...v1.79.0

download

unix · zip
curl -fL -o v1.79.0.zip https://ratatoskr.space/pkg/fasthttp/v1.79.0.zip
                    printf '%s  %s\n' 'e99c405a936c206e75954ca3e0573f87ea3a01ae2be9d86e3679397a25e4a9c0' 'v1.79.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/fasthttp/v1.79.0.zip"
$out = "v1.79.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e99c405a936c206e75954ca3e0573f87ea3a01ae2be9d86e3679397a25e4a9c0") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.79.0.tar.gz https://ratatoskr.space/pkg/fasthttp/v1.79.0.tar.gz
                    printf '%s  %s\n' '7056e253ede58b6452bf8118b04719c9066d41e5c928393f8ccd343c59b57ab1' 'v1.79.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/fasthttp/v1.79.0.tar.gz"
$out = "v1.79.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7056e253ede58b6452bf8118b04719c9066d41e5c928393f8ccd343c59b57ab1") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.79.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.zip
                    printf '%s  %s\n' 'e99c405a936c206e75954ca3e0573f87ea3a01ae2be9d86e3679397a25e4a9c0' 'v1.79.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.zip"
$out = "v1.79.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e99c405a936c206e75954ca3e0573f87ea3a01ae2be9d86e3679397a25e4a9c0") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.79.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.tar.gz
                    printf '%s  %s\n' '7056e253ede58b6452bf8118b04719c9066d41e5c928393f8ccd343c59b57ab1' 'v1.79.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.tar.gz"
$out = "v1.79.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7056e253ede58b6452bf8118b04719c9066d41e5c928393f8ccd343c59b57ab1") { throw "sha256 mismatch" }
artifact format size hashes
v1.79.0.zip zip 681.9 KiB
blake3-24 acfdda31f34334c83650d9f08f2fc942dd5f2229bb7626d6
sha256 e99c405a936c206e75954ca3e0573f87ea3a01ae2be9d86e3679397a25e4a9c0
sha1 6ff98a08fdb04706f851bb5220e336c8ad62256a
v1.79.0.tar.gz tar.gz 590.8 KiB
blake3-24 f8d0f678d487e7598ffb702760444290d05c2967cee83f37
sha256 7056e253ede58b6452bf8118b04719c9066d41e5c928393f8ccd343c59b57ab1
sha1 8498e51bc8dfdc9bb55397b0b90e097267d2b8e6

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.79.0.zip zip 686.8 KiB
blake3-24 b0d41558f4d5271055f2c2d1321a5c7d57f2295785375358
sha256 9a3b9d33873fa34c677074c8a58d6e08d1743bfe5cd5bc723150a86866e4759a
sha1 1f09db20c9951e7b621db8743fdfc1e1f3b7854f

install

bazel
http_archive(
    name = "fasthttp",
    urls = ["https://ratatoskr.space/pkg/fasthttp/v1.79.0.tar.gz"],
    integrity = "sha256-cFbiU+3li2RSv4EYsEcZyQZtQeXJKDk/jM00PFm1erE=",
    strip_prefix = "fasthttp-v1.79.0",
)
zig
.url = "https://ratatoskr.space/pkg/fasthttp/v1.79.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/fasthttp@v1.79.0
install via yggdrasil mesh
bazel
http_archive(
    name = "fasthttp",
    urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.tar.gz"],
    integrity = "sha256-cFbiU+3li2RSv4EYsEcZyQZtQeXJKDk/jM00PFm1erE=",
    strip_prefix = "fasthttp-v1.79.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp/v1.79.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/fasthttp@v1.79.0
v1.78.0 →