57cce79a46
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> |
||
---|---|---|
.. | ||
bare-arm | ||
cc3200 | ||
embed | ||
esp32 | ||
esp8266 | ||
mimxrt | ||
minimal | ||
nrf | ||
pic16bit | ||
powerpc | ||
qemu-arm | ||
renesas-ra | ||
rp2 | ||
samd | ||
stm32 | ||
unix | ||
webassembly | ||
windows | ||
zephyr |