Skip to content

v2.17.2

Choose a tag to compare

@Kludex Kludex released this 04 Dec 09:14
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
922c2e1

🔀 Concurrent HTTP/2 requests when servers omit their stream limit

httpx2 and httpcore2 2.17.2 are a patch release with one fix. You will notice it if you send concurrent HTTP/2 requests to a server that omits SETTINGS_MAX_CONCURRENT_STREAMS from its initial SETTINGS frame, such as Node.js with its default settings. On 2.17.1, requests on that connection ran one at a time.

pip install --upgrade httpx2==2.17.2
  • HTTP/2 requests multiplex when the peer omits SETTINGS_MAX_CONCURRENT_STREAMS (#1386). Per RFC 9113 §6.5.2, an omitted limit means no peer cap, but httpcore2 started _max_streams at 1 and only updated it when MAX_CONCURRENT_STREAMS appeared in RemoteSettingsChanged.changed_settings. It now falls back to remote_settings.max_concurrent_streams capped at the local limit (100), matching curl and undici.

httpx2 has no changes. It is bumped to stay in lockstep with httpcore2.

Full changelog: v2.17.1...v2.17.2