]> granicus.if.org Git - python/commit
bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321)
authorYury Selivanov <yury@magic.io>
Mon, 4 Jun 2018 15:32:35 +0000 (11:32 -0400)
committerGitHub <noreply@github.com>
Mon, 4 Jun 2018 15:32:35 +0000 (11:32 -0400)
commit9602643120a509858d0bee4215d7f150e6125468
tree43f875c7a1437f958994c7f2a3c281c45f8e3d5d
parenta8eb58546b37a7cd5f332f019bb07388f5212c2d
bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321)

* 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)
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]