]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33734: asyncio/ssl: a bunch of bugfixes (GH-7321) (GH-7396)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jun 2018 16:05:46 +0000 (09:05 -0700)
committerYury Selivanov <yury@magic.io>
Mon, 4 Jun 2018 16:05:46 +0000 (12:05 -0400)
commit87936d03cb29ca039c5799190e8da764e62b7882
treea75d94e52fda091c8a1e10acf31f83d31a3989f1
parentcfc12ec68c3f90ebd94bc47d14d18b7217850391
bpo-33734: asyncio/ssl: a bunch of bugfixes (GH-7321) (GH-7396)

* Fix AttributeError (not all SSL exceptions have 'errno' attribute)

* Increase default handshake timeout from 10 to 60 seconds
* Make sure start_tls can be cancelled correctly
* Make sure any error in SSLProtocol gets propagated (instead of just being logged)
(cherry picked from commit 9602643120a509858d0bee4215d7f150e6125468)

Co-authored-by: Yury Selivanov <yury@magic.io>
Doc/library/asyncio-eventloop.rst
Lib/asyncio/base_events.py
Lib/asyncio/constants.py
Lib/asyncio/events.py
Lib/asyncio/sslproto.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/utils.py
Misc/NEWS.d/next/Library/2018-06-01-10-55-48.bpo-33734.x1W9x0.rst [new file with mode: 0644]