cpython/Lib/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 #23046: Expose the BaseEventLoop class in the asyncio namespace 2015-01-06 01:03:58 +01:00
base_events.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
base_subprocess.py Issue #23209: Break some reference cycles in asyncio. Patch written by Martin 2015-01-09 21:34:27 +01:00
constants.py asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
coroutines.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
events.py Issue #23074: asyncio.get_event_loop() now raises an exception if the thread 2014-12-18 01:20:10 +01:00
futures.py Issue #23209: Break some reference cycles in asyncio. Patch written by Martin 2015-01-09 21:34:27 +01:00
locks.py Issue #22369: Change "context manager protocol" to "context management protocol". 2014-09-10 23:43:41 +03:00
log.py
proactor_events.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
protocols.py asyncio: Fix spelling and typos. 2014-02-18 22:27:48 -05:00
queues.py asyncio: sync with Tulip 2015-01-09 01:42:52 +01:00
selector_events.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
sslproto.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
streams.py asyncio: sync with Tulip 2015-01-09 21:32:05 +01:00
subprocess.py Issue #23140, asyncio: Fix cancellation of Process.wait(). Check the state of 2015-01-06 01:13:49 +01:00
tasks.py asyncio: sync with Tulip 2015-01-09 01:42:52 +01:00
test_utils.py Issue #22560: New SSL implementation based on ssl.MemoryBIO 2015-01-14 00:19:09 +01:00
transports.py asyncio: Move loop attribute to _FlowControlMixin 2014-11-05 15:27:41 +01:00
unix_events.py asyncio: sync with Tulip 2015-01-09 21:32:05 +01:00
windows_events.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00
windows_utils.py asyncio: Truncate to 80 columns 2015-01-09 00:09:10 +01:00