github valyala/fasthttp v1.74.0

3 hours ago

What's Changed

  • fix(fasthttpproxy): select proxies from the request scheme by @dev-willbird1936 in #2334
  • test: scale short timeouts with testTimeout to reduce -race flakiness by @ReneWerner87 in #2339
  • fix: drop zeroed entries from the perIPConnCounter map by @ReneWerner87 in #2337
  • perf: skip the unusable per-call file cache in ServeFS by @ReneWerner87 in #2338
  • test: return after a failed Dial instead of dereferencing a nil conn by @ReneWerner87 in #2341
  • fix: don't recycle an idle timestamp its connection still owns by @ReneWerner87 in #2342
  • reject Transfer-Encoding on HTTP/1.0 requests by @alhudz in #2330
  • only treat "//" in URI.Update as an authority after a scheme by @alhudz in #2345
  • fix: consume informational responses before the final response by @dev-willbird1936 in #2333
  • fix: reject out-of-range Content-Length instead of wrapping it by @lenamonj in #2343
  • perf: zero-copy chunked body writes via io.WriterTo by @sasgas in #2310
  • fix: don't close the shutdown done channel twice by @ReneWerner87 in #2340
  • Rename ChunkedBodyWriterTo to BodyWriterTo and use in more places by @erikdubbelboer in #2348
  • chore(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by @dependabot[bot] in #2349
  • fix: small read buffer error doesn't match the ignored string anymore by @Pedr0Rocha in #2356
  • Add canonical header lookup by @fzlzjerry in #2354
  • chore(deps): bump golang.org/x/crypto from 0.54.0 to 0.55.0 by @dependabot[bot] in #2361
  • chore(deps): bump golang.org/x/net from 0.57.0 to 0.58.0 by @dependabot[bot] in #2360
  • Fix a pooled timer panic and a test data race by @h2zi in #2351
  • fix: send / as the path when the request-target is query-only by @official-burak in #2371
  • perf: try to avoid reallocations while reading zstd compressed requests by @ethercrow in #2357
  • feat: add the QUERY method (RFC 10008) by @h2zi in #2358
  • fix: wait for streaming reads before releasing pooled resources by @tbphp in #2353
  • Replace github.com/andybalholm/brotli with github.com/molecule-man/go-brrr by @gaby in #2366
  • Always stream response bodies when requested by @erikdubbelboer in #2373
  • chore(deps): bump securego/gosec from 2.28.0 to 2.29.0 by @dependabot[bot] in #2375
  • fix: let request timeouts override client timeouts by @Harshal96 in #2372
  • avoid race condition for closing the streaming connection at EOF by @akshaydeo in #2379
  • Give TestClientHeadWithBody a CI-proof read timeout by @h2zi in #2374
  • fix: prevent stale query string after clearing query args by @cuishuang in #2380
  • feat(examples): add zero-allocation server example by @aabishkaryal in #2362
  • chore(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.0 by @dependabot[bot] in #2384

New Contributors

Full Changelog: v1.73.0...v1.74.0

Don't miss a new fasthttp release

NewReleases is sending notifications on new releases.