Skip to content

Release 4.4.1#881

Merged
benoitc merged 2 commits into
masterfrom
release/4.4.1
Jun 16, 2026
Merged

Release 4.4.1#881
benoitc merged 2 commits into
masterfrom
release/4.4.1

Conversation

@benoitc

@benoitc benoitc commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Patch release.

Dependencies (#879)

webtransport was pinned to exactly 0.4.0, which requires h2 0.9.0 and conflicts with hackney's own h2 ~> 0.10.0, breaking installation on strict resolvers (mix). First-party deps are now patch-relative ranges, picking up webtransport 0.4.1 which relaxes its h2 requirement:

  • webtransport 0.4.0 -> ~> 0.4.1
  • h2 ~> 0.10.0 -> ~> 0.10.1
  • quic 1.6.5 -> ~> 1.6.5

Fixed: spurious checkout_timeout

A connection from a just-completed request returns to the pool through an async checkin, so a back-to-back checkout could see the pool at max_connections and fail with checkout_timeout before the checkin landed (surfaced as an intermittent Linux-only failure in hackney_recv_timeout_tests).

pool_size / max_connections now bounds the warm idle pool: checkout opens an overflow connection when none is pooled, with per-host concurrency still capped by max_per_host via load regulation, and checkin closes a connection that would grow the idle pool past its size. The two pool tests that asserted the old fast-fail behavior are updated.

benoitc added 2 commits June 16, 2026 10:08
A connection from a just-completed request returns to the pool through
an async checkin, so a back-to-back checkout could see the pool at
max_connections and fail with checkout_timeout before the checkin landed.
pool_size/max_connections now bounds the warm idle pool: checkout opens
an overflow connection when none is pooled (per-host concurrency stays
capped by max_per_host via load regulation), and checkin closes a
connection that would grow the idle pool past its size. Updates the two
pool tests that asserted the old fast-fail behavior.
@benoitc benoitc merged commit 3acc10e into master Jun 16, 2026
6 checks passed
@benoitc benoitc deleted the release/4.4.1 branch June 16, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant