Skip to content

Commit

Permalink
Reuse session in rest requests
Browse files Browse the repository at this point in the history
fixes #14794
  • Loading branch information
hackenbergstefan committed Sep 21, 2023
1 parent d6aea15 commit be08578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conans/client/rest/conan_requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _call_method(self, method, url, **kwargs):
popped = True if os.environ.pop(var_name.upper(), None) else popped
try:
all_kwargs = self._add_kwargs(url, kwargs)
tmp = getattr(requests, method)(url, **all_kwargs)
tmp = getattr(self._http_requester, method)(url, **all_kwargs)
return tmp
finally:
if popped:
Expand Down

0 comments on commit be08578

Please sign in to comment.