File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -577,6 +577,9 @@ Johnny Venter <johnny.venter@zoho.com>
577577Carlos Gabriel Vergara <carlosgabrielvergara@gmail.com>
578578 for suggesting couple of good features
579579
580+ Patrick Webster <patrick@aushack.com>
581+ for suggesting an enhancement
582+
580583Ed Williams <ed.williams@ngssecure.com>
581584 for suggesting a minor enhancement
582585
Original file line number Diff line number Diff line change 2121except ImportError :
2222 pass
2323
24- _protocols = [ssl .PROTOCOL_SSLv3 , ssl .PROTOCOL_SSLv23 , ssl .PROTOCOL_TLSv1 ]
24+ _protocols = [ssl .PROTOCOL_SSLv23 , ssl .PROTOCOL_SSLv3 , ssl .PROTOCOL_TLSv1 ]
2525
2626class HTTPSConnection (httplib .HTTPSConnection ):
2727 """
@@ -42,6 +42,7 @@ def create_sock():
4242 return sock
4343
4444 success = False
45+
4546 for protocol in _protocols :
4647 try :
4748 sock = create_sock ()
You can’t perform that action at this time.
0 commit comments