mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a523aa3ef5
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 |
||
---|---|---|
.. | ||
include | ||
library | ||
port | ||
test | ||
apache-2.0.txt | ||
ChangeLog | ||
component.mk | ||
Kconfig | ||
LICENSE | ||
Makefile.projbuild |