esp-idf/components
Michael Kellner a523aa3ef5 mbedtls port: Fix detection of EWOULDBLOCK/EAGAIN with non-blocking sockets
Since mbedtls_net_errno is reset by fcntl, it is reset after calling
net_would_block, so the call to mbedtls_net_errno in mbedtls_net_recv
and mbedtls_net_send will always get back 0. This change propagates
the value returned by mbedtls_net_errno up through net_would_block,
to allow the correct error value to be used and avoid a redundant
call to mbedtls_net_errno.

Merges PR #511 https://github.com/espressif/esp-idf/pull/511
2017-04-21 10:46:34 +10:00
..
2017-03-13 17:23:29 +08:00
2017-01-11 15:03:14 +08:00
2017-04-12 16:57:37 +08:00
2016-11-16 15:57:34 +11:00
2017-03-08 09:54:40 +11:00
2017-03-07 10:18:47 +11:00
2017-01-09 17:51:48 +08:00
2017-04-05 09:23:09 +03:00
2017-04-13 15:27:38 +08:00