OVMS3-idf/components/mbedtls
Kedar Sovani 673ccaa1e5 Remove check for would_block in mbedtls
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.

Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-12-04 17:28:15 +05:30
..
mbedtls@f5f2e5926c NimBLE: Add optional mbedTLS support to NimBLE (backport) 2019-09-23 21:37:40 +08:00
port Remove check for would_block in mbedtls 2019-12-04 17:28:15 +05:30
test mbedtls: remove component CMake file workarounds 2019-06-26 08:41:02 +00:00
CMakeLists.txt mbedtls: add source files to appropriate library 2019-08-28 10:28:17 +08:00
component.mk move hwcrypto from esp32 to mbedtls 2019-03-26 16:24:22 +08:00
Kconfig NimBLE: Add optional mbedTLS support to NimBLE (backport) 2019-09-23 21:37:40 +08:00
Makefile.projbuild esp32, mbedtls: check component name when enabling test flags 2018-11-20 01:27:24 +08:00