eaf_base_api 2.5.3__tar.gz → 2.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/PKG-INFO +1 -1
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/base.py +7 -4
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/pyproject.toml +1 -1
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/LICENSE +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/README.md +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/__init__.py +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/modules/__init__.py +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/modules/config.py +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/modules/errors.py +0 -0
- {eaf_base_api-2.5.3 → eaf_base_api-2.5.4}/base_api/modules/progress_bars.py +0 -0
|
@@ -763,11 +763,14 @@ class BaseCore:
|
|
|
763
763
|
raise KillSwitch("CRITICAL PROXY ERROR, CHECK LOGS!")
|
|
764
764
|
|
|
765
765
|
def initialize_session(self):
|
|
766
|
-
|
|
766
|
+
ctx = self.config.ssl_context
|
|
767
|
+
|
|
768
|
+
if not ctx:
|
|
767
769
|
ctx = ssl.create_default_context(cafile=certifi.where())
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
770
|
+
|
|
771
|
+
if not self.config.verify_ssl:
|
|
772
|
+
ctx.check_hostname = False
|
|
773
|
+
ctx.verify_mode = ssl.CERT_NONE
|
|
771
774
|
|
|
772
775
|
if not http2_possible and self.config.use_http2:
|
|
773
776
|
self.logger.error(f"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|