_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
authorDebian Python Team <team+python@tracker.debian.org>
Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)
committerJulien Cristau <jcristau@debian.org>
Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)
commit305fb51d902e85c4a00d1adc2ee817e734cd8b47
tree6f7286a9751995ab75306a0a4e1abaa41997f27f
parent20f0cc082ed66f8db7c50e6b19c3c3ae08f08dd7
_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649508115 -7200
#      Sat Apr 09 14:41:55 2022 +0200
# Node ID 416d9bf1c5eaeba34bbc25baee37ae32e81d50f1
# Parent  41f738aed141d3a29c5ed5d33a9e79cad15b0669
sslutil: treat TLSV1_ALERT_PROTOCOL_VERSION error the same as UNSUPPORTED_PROTOCOL

It looks like python 3.10 returns a different reason code on protocol
version mismatch.

Differential Revision: https://phab.mercurial-scm.org/D12491

Gbp-Pq: Topic py310
Gbp-Pq: Name 6_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL.patch
mercurial/sslutil.py
tests/test-https.t