micropython/ports
Angus Gratton 57cce79a46 esp32/modsocket: Implement socket connect timeout.
LWIP doesn't implement a timeout for blocking connect(), and such a timeout
is not required by POSIX.  However, CPython will use the socket timeout for
blocking connect on most platforms.  The "principle of least surprise"
suggests we should support it on ESP32 as well (not to mention it's
useful!).

This provides the additional improvement that external exceptions (like
KeyboardInterrupt) are now handled immediately if they happen during
connect().  Previously Ctrl-C would not terminate a blocking connect until
connect() returned, but now it will.

Fixes issue #8326.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-11-20 18:48:25 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
embed
esp32 esp32/modsocket: Implement socket connect timeout. 2023-11-20 18:48:25 +11:00
esp8266 ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
mimxrt mimxrt/boards/OLIMEX_RT1010: Adjust the UART pin assignment. 2023-11-09 13:41:44 +11:00
minimal
nrf {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
pic16bit ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
powerpc
qemu-arm tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
renesas-ra renesas-ra/boards/ARDUINO_PORTENTA_C33: Fix incorrect I2C pins. 2023-11-17 15:40:33 +11:00
rp2 ports: Fix incorrect identifiers on Arduino boards. 2023-11-17 15:24:15 +11:00
samd samd: Use unique id for USB serial number. 2023-11-16 15:03:09 +11:00
stm32 ports: Fix incorrect identifiers on Arduino boards. 2023-11-17 15:24:15 +11:00
unix py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
webassembly
windows windows: Use the MicroPython logo as application icon. 2023-11-07 17:22:52 +11:00
zephyr