_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
authorDebian Python Team <team+python@tracker.debian.org>
Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)
commit5aa78d7e20aebaa9d355b5ae1e5dfbd711372f49
tree05f9896b1c03896d319b6deb2a2059d450576ca4
parentb7279532a32c4cfffae90017774413433d40ce7c
_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