github pydantic/httpx2 v2.17.2

latest release: v2.18.0
one hour ago

๐Ÿ”€ 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

Don't miss a new httpx2 release

NewReleases is sending notifications on new releases.