We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc49942 commit 093eaf3Copy full SHA for 093eaf3
datadog_checks_base/datadog_checks/base/utils/http.py
@@ -583,8 +583,9 @@ def _create_session(self):
583
@property
584
def session(self):
585
if self._session is None:
586
- # Create a new session if it doesn't exist
+ # Create a new session if it doesn't exist and mount default HTTPS adapter.
587
self._session = self._create_session()
588
+ self._mount_https_adapter(self._session, self.tls_config)
589
return self._session
590
591
def handle_auth_token(self, **request):
0 commit comments