mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
60255efc32
commit
42cf50fbac
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/urls-proxy-validate.yaml
Normal file
2
changelogs/fragments/urls-proxy-validate.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- 'urls - When validating SSL certs using an a non-SSL proxy, do not send "Connection: close" when requesting a tunnel. This prevents some proxy servers from dropping the connection (https://github.com/ansible/ansible/issues/32750)'
|
|
@ -663,7 +663,7 @@ class SSLValidationHandler(urllib_request.BaseHandler):
|
|||
http://stackoverflow.com/questions/1087227/validate-ssl-certificates-with-python
|
||||
http://techknack.net/python-urllib2-handlers/
|
||||
'''
|
||||
CONNECT_COMMAND = "CONNECT %s:%s HTTP/1.0\r\nConnection: close\r\n"
|
||||
CONNECT_COMMAND = "CONNECT %s:%s HTTP/1.0\r\n"
|
||||
|
||||
def __init__(self, hostname, port):
|
||||
self.hostname = hostname
|
||||
|
|
Loading…
Reference in a new issue