Skip to content

Commit

Permalink
Merge pull request #3257 from felixfontein/requests-hotfix
Browse files Browse the repository at this point in the history
Fix for requests 2.32
  • Loading branch information
thaJeztah authored May 22, 2024
2 parents b86573a + d8e9bcb commit 7785ad9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/transport/basehttpadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ def close(self):
super().close()
if hasattr(self, 'pools'):
self.pools.clear()

# Fix for requests 2.32.2+:
# https://github.com/psf/requests/commit/c98e4d133ef29c46a9b68cd783087218a8075e05
def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None):
return self.get_connection(request.url, proxies)

0 comments on commit 7785ad9

Please sign in to comment.