Upgrade to release 2.15.1:
Highlights:
- Flat CPU usage for long-lived clients on Linux:
On Linux, the default SSL context is now configured once instead of
on every handshake. With OpenSSL older than 3.4, each handshake
added a duplicate certificate lookup path, so CPU usage per request
grew over the lifetime of a reused client. Certificate verification
is unchanged, and Windows and macOS still use truststore.
httpx2:
Fixed:
- Configure the default SSL context once on Linux, instead of on
every handshake. With OpenSSL older than 3.4, CPU usage grew over
the lifetime of a reused client (#1253).
httpcore2:
Fixed:
- Configure the default SSL context once on Linux, instead of on
every handshake. With OpenSSL older than 3.4, CPU usage grew over
the lifetime of a reused client (#1253).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>