Skip to content

Commit

Permalink
Use proxy ssl context consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
manav-a committed Apr 20, 2024
1 parent 4b85e6c commit 0451fe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions httpx/_transports/default.py
Expand Up @@ -188,6 +188,7 @@ def __init__(
target=proxy.url.raw_path,
),
proxy_auth=proxy.raw_auth,
proxy_ssl_context=proxy.ssl_context,
ssl_context=ssl_context,
max_connections=limits.max_connections,
max_keepalive_connections=limits.max_keepalive_connections,
Expand Down Expand Up @@ -303,6 +304,7 @@ def __init__(
),
proxy_auth=proxy.raw_auth,
proxy_headers=proxy.headers.raw,
proxy_ssl_context=proxy.ssl_context,
ssl_context=ssl_context,
max_connections=limits.max_connections,
max_keepalive_connections=limits.max_keepalive_connections,
Expand All @@ -328,6 +330,7 @@ def __init__(
target=proxy.url.raw_path,
),
proxy_auth=proxy.raw_auth,
proxy_ssl_context=proxy.ssl_context,
ssl_context=ssl_context,
max_connections=limits.max_connections,
max_keepalive_connections=limits.max_keepalive_connections,
Expand Down

0 comments on commit 0451fe3

Please sign in to comment.