]> granicus.if.org Git - python/commit
Issue #23197, asyncio: On SSL handshake failure, check if the waiter is
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jan 2015 15:56:20 +0000 (16:56 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jan 2015 15:56:20 +0000 (16:56 +0100)
commit177e9f0855ca398bf208a7466ed288e2ae22f6d5
tree27c994b28ebad69a451db7937c7fed06e37ff37a
parentf651a604075c2dc9a2d7f3d3bd74da374ff8a696
Issue #23197, asyncio: On SSL handshake failure, check if the waiter is
cancelled before setting its exception.

* Add unit tests for this case.
* Cleanup also sslproto.py
Lib/asyncio/selector_events.py
Lib/asyncio/sslproto.py
Lib/test/test_asyncio/test_selector_events.py
Lib/test/test_asyncio/test_sslproto.py [new file with mode: 0644]