Version 0.11.6
This commit is contained in:
1 parent
6aab76c47d
commit
930b238204
4 files changed
+4
-3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user