mirror of https://github.com/ansible/ansible.git
Prefer the stdlib SSLContext over urllib3 context
We do not go through the effort of finding the right PROTOCOL setting if
we have SSLContext in the stdlib. So we do not want to hit the code
that uses PROTOCOL to set the urllib3-provided ssl context when
SSLContext is available. Also, the urllib3 implementation appears to
have a bug in some recent versions. Preferring the stdlib version will
work around that for those with Python-2.7.9+ as well.
Fixes #26235
Fixes #25402
Fixes #31998
(cherry picked from commit 725ae96e1b)
pull/32034/merge
parent
4a4590a2c6
commit
f48af16ddc
Loading…
Reference in New Issue