Files
esp-idf/components
Kedar Sovani 87c3decc12 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-17 16:36:18 +05:30
..
2019-08-09 13:46:31 +08:00
2019-10-09 16:46:46 +08:00
2019-09-27 10:58:30 +08:00
2019-08-09 13:46:31 +08:00
2019-08-14 10:03:27 +10:00
2019-10-17 12:33:17 +08:00