micropython/extmod
Paul Sokolovsky c76445315f extmod/modussl_axtls: Add non-blocking mode support.
It consists of:

1. "do_handhake" param (default True) to wrap_socket(). If it's False,
handshake won't be performed by wrap_socket(), as it would be done in
blocking way normally. Instead, SSL socket can be set to non-blocking mode,
and handshake would be performed before the first read/write request (by
just returning EAGAIN to these requests, while instead reading/writing/
processing handshake over the connection). Unfortunately, axTLS doesn't
really support non-blocking handshake correctly. So, while framework for
this is implemented on MicroPython's module side, in case of axTLS, it
won't work reliably.

2. Implementation of .setblocking() method. It must be called on SSL socket
for blocking vs non-blocking operation to be handled correctly (for
example, it's not enough to wrap non-blocking socket with wrap_socket()
call - resulting SSL socket won't be itself non-blocking).  Note that
.setblocking() propagates call to the underlying socket object, as
expected.
2019-04-30 17:26:37 +10:00
..
axtls-include
crypto-algorithms
lwip-include
re1.5
uzlib
machine_i2c.c
machine_i2c.h
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c extmod/machine_signal: Fix fault when no args are passed to Signal(). 2019-04-26 14:47:31 +10:00
machine_signal.h
machine_spi.c
machine_spi.h
misc.h stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. 2019-04-01 13:04:05 +11:00
modbtree.c
modframebuf.c
modlwip.c extmod/modlwip: Abort TCP conns that didn't close cleanly in a while. 2019-04-11 11:18:10 +10:00
modonewire.c
modubinascii.c
modubinascii.h
moducryptolib.c
moductypes.c
moduhashlib.c
moduheapq.c
modujson.c
modurandom.c extmod/modurandom: Add init method to seed the Yasmarang generator. 2019-04-16 14:54:36 +10:00
modure.c
moduselect.c extmod/moduselect: Adjust select_select and poll_register to use size_t. 2019-03-13 23:18:59 +11:00
modussl_axtls.c extmod/modussl_axtls: Add non-blocking mode support. 2019-04-30 17:26:37 +10:00
modussl_mbedtls.c extmod/modussl_mbedtls: Support non-blocking handshake. 2019-04-30 17:24:46 +10:00
modutimeq.c
moduwebsocket.c extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 2019-02-14 00:35:45 +11:00
moduwebsocket.h extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 2019-02-14 00:35:45 +11:00
moduzlib.c
modwebrepl.c extmod/modwebrepl: Fix logic to handle a put of file of size 0. 2019-02-28 15:30:48 +11:00
uos_dupterm.c stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. 2019-04-01 13:04:05 +11:00
utime_mphal.c
utime_mphal.h
vfs.c
vfs.h
vfs_fat.c extmod/vfs_fat: Fallback to FAT32 if standard FAT16/SFD format fails. 2019-03-26 17:15:23 +11:00
vfs_fat.h
vfs_fat_diskio.c extmod/vfs_fat: Update for new oofatfs version. 2019-03-05 15:56:39 +11:00
vfs_fat_file.c
vfs_posix.c
vfs_posix.h
vfs_posix_file.c
vfs_reader.c
virtpin.c
virtpin.h