]> git.ipfire.org Git - thirdparty/tornado.git/commit
netutil: Use newer ssl APIs
authorBen Darnell <ben@bendarnell.com>
Wed, 29 Dec 2021 00:44:19 +0000 (19:44 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 16 Jan 2022 21:49:19 +0000 (16:49 -0500)
commit69a398b0adb1ad1b1ebc0ad2cf765d7913f5e1d2
tree515a3f0508c4a7b4594ccb9e19558f02a11fa406
parent5a939f76d777adc4ddfb565eafe62f5cbefc5ae3
netutil: Use newer ssl APIs

Pass a client/server flag to all SSL context creations. This is required
to avoid deprecations in Python 3.10. This is a behavior change for
client-side connections: certificate verification and hostname checks
are now enabled in more situations (previously, the high-level
interfaces would generally enforce these requirements but the low-level
interfaces like SSLIOStream did not).
tornado/iostream.py
tornado/netutil.py
tornado/test/httpserver_test.py
tornado/test/iostream_test.py
tornado/test/simple_httpclient_test.py