cpython/Lib/test/test_asyncio
Victor Stinner 231b404cb0 Issue #22560: New SSL implementation based on ssl.MemoryBIO
The new SSL implementation is based on the new ssl.MemoryBIO which is only
available on Python 3.5. On Python 3.4 and older, the legacy SSL implementation
(using SSL_write, SSL_read, etc.) is used. The proactor event loop only
supports the new implementation.

The new asyncio.sslproto module adds _SSLPipe, SSLProtocol and
_SSLProtocolTransport classes. _SSLPipe allows to "wrap" or "unwrap" a socket
(switch between cleartext and SSL/TLS).

Patch written by Antoine Pitrou. sslproto.py is based on gruvi/ssl.py of the
gruvi project written by Geert Jansen.

This change adds SSL support to ProactorEventLoop on Python 3.5 and newer!

It becomes also possible to implement STARTTTLS: switch a cleartext socket to
SSL.
2015-01-14 00:19:09 +01:00
..
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
echo.py
echo2.py
echo3.py
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
test_events.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
test_futures.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
test_locks.py asyncio: sync with Tulip 2014-07-29 12:58:23 +02:00
test_proactor_events.py Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of 2014-12-26 21:07:52 +01:00
test_queues.py Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests 2014-06-25 23:11:21 +02:00
test_selector_events.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
test_streams.py asyncio: sync with Tulip 2015-01-09 21:32:05 +01:00
test_subprocess.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
test_tasks.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
test_transports.py asyncio: Move loop attribute to _FlowControlMixin 2014-11-05 15:27:41 +01:00
test_unix_events.py asyncio: sync with Tulip 2014-12-26 21:16:42 +01:00
test_windows_events.py Tulip issue 184: Fix test_pipe() on Windows 2015-01-13 16:13:06 +01:00
test_windows_utils.py asyncio: sync with Tulip 2014-12-26 21:16:42 +01:00