This is an archive of the discontinued Mercurial Phabricator instance.

sslutil: treat TLSV1_ALERT_PROTOCOL_VERSION error the same as UNSUPPORTED_PROTOCOL
ClosedPublic

Authored by jcristau on Apr 9 2022, 8:44 AM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.