Version 0.11.6

This commit is contained in:
Paco8 committed 2026-04-15 12:25:33 +02:00
1 parent 6aab76c47d
commit 930b238204
4 files changed
+4 -3

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ class CustomAdapter(HTTPAdapter, object):
def init_poolmanager(self, connections, maxsize, block=False):
ctx = ssl.create_default_context()
ctx.options |= 0x4 # OP_LEGACY_SERVER_CONNECT
ctx.set_ciphers('DEFAULT:!BRAINPOOL')
self.poolmanager = PoolManager(
num_pools=connections,
maxsize=maxsize,