OVMS3-idf/components/mbedtls
Kedar Sovani 700976f709 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-10-18 14:18:34 +05:30
..
mbedtls@19eb57f7f7 mbedtls: update to 2.13.1 2018-09-20 04:35:45 +00:00
port Remove check for would_block in mbedtls 2019-10-18 14:18:34 +05:30
test mbedtls: Add UTs for modexp 2019-06-26 14:20:30 +08:00
CMakeLists.txt mbedtls: configurable options for controlling dynamic memory allocations 2018-09-24 11:17:48 +05:30
component.mk mbedtls: Add mbedtls submodule check to build system 2018-05-14 16:07:18 +08:00
Kconfig Fix some typos related to ethernet documentation and Kconfig. Closes https://github.com/espressif/esp-idf/pull/2642 2018-10-28 21:12:09 +01:00
Makefile.projbuild mbedtls: enable deprecation warnings when building unit tests 2018-05-09 23:15:28 +08:00