Sourced from github.com/valyala/fasthttp's releases.
v1.72.0
What's Changed
- Update to go1.25 as minimal version by
@erikdubbelboerin valyala/fasthttp#2205- client: add aggregate connection count metrics by
@z9zin valyala/fasthttp#2201- fix(server): return ErrMissingFile when MultipartForm.File is nil by
@u5surfin valyala/fasthttp#2260- bug: FS cache cleaner goroutine leaks when CleanStop is nil (default) (#2218), #2247 by
@erikdubbelboerin valyala/fasthttp#2271- bug: data race on pipeline client c.chR during worker drain (#2220) by
@erikdubbelboerin valyala/fasthttp#2272- bug: TCPDialer.tcpAddrsClean() goroutine leaks — no shutdown mechanism (#2222) by
@erikdubbelboerin valyala/fasthttp#2273- bug: double concurrency counter increment in ServeConn causes counter leak (#2238) by
@erikdubbelboerin valyala/fasthttp#2275- bug: body stream leak in compression methods when response is discarded (#2244) by
@erikdubbelboerin valyala/fasthttp#2276- bug: InMemoryListener deadlock under high concurrency (#2245) by
@erikdubbelboerin valyala/fasthttp#2277- bug: fasthttpadaptor writer leak, data race, and crash on handler panic (#2246) by
@erikdubbelboerin valyala/fasthttp#2278- bug: fasthttpproxy dialers return nil DialFunc on error, causing panic (#2248) by
@erikdubbelboerin valyala/fasthttp#2279- bug: closeIdleConns TOCTOU race with serveConn idle timestamp (#2250) by
@erikdubbelboerin valyala/fasthttp#2280- bug: AppendCert/AppendCertEmbed not thread-safe (#2251) by
@erikdubbelboerin valyala/fasthttp#2281- bug: SetBodySizePoolLimit data race — plain int written without synchronization (#2252) by
@erikdubbelboerin valyala/fasthttp#2282- bug: file descriptor leak in prefork parent process (#2253) by
@erikdubbelboerin valyala/fasthttp#2283- security: SO_REUSEADDR on Windows enables port hijacking (#2254) by
@erikdubbelboerin valyala/fasthttp#2284- bug: file descriptor leak on z/OS s390x when FcntlInt fails (#2255) by
@erikdubbelboerin valyala/fasthttp#2285- bug: filesLockMap grows unboundedly, leaking memory (#2256) by
@erikdubbelboerin valyala/fasthttp#2286- security: TLS verification silently disabled for malformed addresses (#2236) by
@erikdubbelboerin valyala/fasthttp#2274- fix(fs): remove temporary file when compression fails by
@u5surfin valyala/fasthttp#2264- fix double release of streamed client response body by
@Merengin valyala/fasthttp#2211- fix(client): switch to GET on 303 redirect per RFC 9110 by
@u5surfin valyala/fasthttp#2265- ci: re-enable gocritic deferInLoop check for non-test code by
@u5surfin valyala/fasthttp#2288- Fix flaky race tests by
@erikdubbelboerin valyala/fasthttp#2292- fix(lbclient): prevent deadlock when all clients are removed by
@u5surfin valyala/fasthttp#2287- reject duplicate Content-Length in response header parser by
@alhudzin valyala/fasthttp#2294- strip cr/lf from header keys in normalizeHeaderKey by
@alhudzin valyala/fasthttp#2295- fix(client): guard nil waiter in decConnsCount by
@SAY-5in valyala/fasthttp#2266- strip semicolons from cookie setters to block attribute injection by
@alhudzin valyala/fasthttp#2298- feat(prefork): graceful shutdown, leak fixes, hook robustness (re-open of #2180 follow-up) by
@ReneWerner87in valyala/fasthttp#2199- fix: prevent data race on FSCompressedFileSuffixes map by
@xbrxr03in valyala/fasthttp#2300- reject duplicate Transfer-Encoding in request header parser by
@alhudzin valyala/fasthttp#2303- preserve duplicate request headers in ConvertRequest by
@alhudzin valyala/fasthttp#2305- fix(server): close listener on serve error in ListenAndServe helpers by
@fereidaniin valyala/fasthttp#2304- validate trailer values in parseTrailer by
@alhudzin valyala/fasthttp#2301- Avoid default content type for empty requests by
@nkgotcodein valyala/fasthttp#2296- chore(deps): bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by
@dependabot[bot] in valyala/fasthttp#2210- chore(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 by
@dependabot[bot] in valyala/fasthttp#2209- chore(deps): bump golang.org/x/sys from 0.44.0 to 0.45.0 by
@dependabot[bot] in valyala/fasthttp#2208- chore(deps): bump golang.org/x/net from 0.54.0 to 0.55.0 by
@dependabot[bot] in valyala/fasthttp#2207- chore(deps): bump securego/gosec from 2.26.1 to 2.27.0 by
@dependabot[bot] in valyala/fasthttp#2261- chore(deps): bump securego/gosec from 2.27.0 to 2.27.1 by
@dependabot[bot] in valyala/fasthttp#2267- chore(deps): bump golang.org/x/sys from 0.45.0 to 0.46.0 by
@dependabot[bot] in valyala/fasthttp#2289- chore(deps): bump golang.org/x/crypto from 0.52.0 to 0.53.0 by
@dependabot[bot] in valyala/fasthttp#2290- chore(deps): bump golang.org/x/net from 0.55.0 to 0.56.0 by
@dependabot[bot] in valyala/fasthttp#2291- chore(deps): bump actions/checkout from 6 to 7 by
@dependabot[bot] in valyala/fasthttp#2297New Contributors
... (truncated)
37a31d7
Avoid default content type for empty requests (#2296)d93cb94
validate trailer values in parseTrailer (#2301)9d21d35
Remove unused uint322ip, inline ip2uint32eb82c9a
Reject invalid cookie values during parsing598e2e0
fix(server): close listener on serve error in ListenAndServe helpers (#2304)134a8fe
preserve duplicate request headers in ConvertRequest (#2305)7bca504
reject duplicate Transfer-Encoding in request header parser (#2303)9ee3c15
docs: document FSCompressedFileSuffixes is not safe for concurrent
modificati...2c15900
feat(prefork): graceful shutdown, leak fixes, hook robustness (re-open
of #21...ec58c6e
strip semicolons from cookie setters to block attribute injection (#2298)