mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| echo.py | ||
| echo2.py | ||
| echo3.py | ||
| keycert3.pem | ||
| pycacert.pem | ||
| ssl_cert.pem | ||
| ssl_key.pem | ||
| test_base_events.py | ||
| test_events.py | ||
| test_futures.py | ||
| test_locks.py | ||
| test_proactor_events.py | ||
| test_queues.py | ||
| test_selector_events.py | ||
| test_streams.py | ||
| test_subprocess.py | ||
| test_tasks.py | ||
| test_transports.py | ||
| test_unix_events.py | ||
| test_windows_events.py | ||
| test_windows_utils.py | ||