_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
authorDebian Python Team <team+python@tracker.debian.org>
Mon, 23 May 2022 10:21:07 +0000 (11:21 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 23 May 2022 10:21:07 +0000 (11:21 +0100)
commit722b0b9914c5d3cbc34d84de7855cd0a63c238cf
tree7341993e43c8227bd1869aa1c8f940bfd98886f4
parentc662a093a13411c1b6e3e8ec7174c38e0c98e727
_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