hyper
hyper copied to clipboard
Delay SSL context construction in requests adapter
This delays SSL context construction in the requests adapter to only construct the new context when it will actually be used to establish a new connection. This avoids getting duplicate certificate errors like the following: ssl.SSLError: [X509: CERT_ALREADY_IN_HASH_TABLE] cert already in hash table (_ssl.c:2171).