micropython/tests/net_inet
Carlosgg bfd6ad94ff extmod/asyncio: Add ssl support with SSLContext.
This adds asyncio ssl support with SSLContext and the corresponding
tests in `tests/net_inet` and `tests/multi_net`.

Note that not doing the handshake on connect will delegate the handshake to
the following `mbedtls_ssl_read/write` calls.  However if the handshake
fails when a client certificate is required and not presented by the peer,
it needs to be notified of this handshake error (otherwise it will hang
until timeout if any).  Finally at MicroPython side raise the proper
mbedtls error code and message.

Signed-off-by: Carlos Gil <carlosgilglez@gmail.com>
2023-12-14 12:20:19 +11:00
..
README
asyncio_cancel_stream.py
asyncio_cancel_stream.py.exp
asyncio_open_connection.py
asyncio_open_connection.py.exp
asyncio_tcp_read_headers.py
asyncio_tcp_read_headers.py.exp
asyncio_tls_open_connection_readline.py extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
getaddrinfo.py
isrg.der extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
mpycert.der
ssl_cert.py
ssl_cert.py.exp
ssl_errors.py
test_sslcontext_client.py
test_sslcontext_client.py.exp
test_tls_nonblock.py
test_tls_sites.py
tls_num_errors.py
tls_num_errors.py.exp
tls_text_errors.py

README

This directory contains network tests which require Internet connection.
Note that these tests are not run as part of the main testsuite and need
to be run separately (from the main test/ directory):

    ./run-tests.py net_inet/*.py