mirror of
https://github.com/home-assistant/core.git
synced 2025-11-18 07:20:13 +00:00
* Fix httpx client creating a new ssl context with each client While working on https://github.com/home-assistant/core/issues/83524 it was discovered that each new httpx client creates a new ssl contextf1157dbc41/httpx/_transports/default.py (L261)If an ssl context is passed in creating a new one is avoided heref1157dbc41/httpx/_config.py (L110)This change makes httpx ssl no-verify behavior match aiohttp ssl no-verify behavior6da04694fd/aiohttp/connector.py (L892)aiohttp solved this by wrapping the code that generates the ssl context in an lru_cache * compact
8.6 KiB
8.6 KiB