Beispiel #1
0
 def _get_pool(self):
     return get_con_pool(self._conf['HOST'],
                         self._conf['KEY_FILE'],
                         self._conf['CERT_FILE'],
                         self._conf['CA_FILE'],
                         socket_timeout=self._socket_timeout,
                         max_pool_size=self._max_pool_size)
Beispiel #2
0
 def _get_pool(self):
     return get_con_pool(
         self._conf["HOST"],
         self._conf["KEY_FILE"],
         self._conf["CERT_FILE"],
         self._conf["CA_FILE"],
         max_pool_size=self._max_pool_size,
         verify_https=False,
     )
Beispiel #3
0
 def _get_pool(self):
     vfy = True
     if 'VERIFY_HOST' in self._conf:
         vfy = self._conf['VERIFY_HOST']
     return get_con_pool(self._conf['HOST'],
                         self._conf['KEY_FILE'],
                         self._conf['CERT_FILE'],
                         self._conf['CA_FILE'],
                         max_pool_size=self._max_pool_size,
                         verify_https=vfy)
Beispiel #4
0
 def _get_pool(self):
     return get_con_pool(self._conf['HOST'],
                         self._conf['KEY_FILE'],
                         self._conf['CERT_FILE'],
                         self._conf['CA_FILE'],
                         max_pool_size=self._max_pool_size, verify_https=False)