_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
authorDebian Python Team <team+python@tracker.debian.org>
Thu, 21 Apr 2022 22:42:37 +0000 (23:42 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 21 Apr 2022 22:42:37 +0000 (23:42 +0100)
commita16352aeba156c492d6dd137a3d834e72f5eca3c
tree5765043b1be99055e987c70c6868afc6ec6d0d13
parent6fa5f9bffdcf2909d875c2a0e61cebf066547194
_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