esp-idf/components/esp-tls
David Cermak 391d7bf271 tcp_transport: Add TCP transport connection errors
Transport's error_handle is used to capture different types of errors
including esp_err_t from esp-tls and socket/system errors.
This change adds the following error codes for TCP transport:
* connection closed by a FIN flag (clean closure from server)
* DNS resolution problem
* connection timeout
These errors are already defined in esp-tls component and since this
component will be used in the future for both TCP and SSL transport, we
currently report these issues in transport::error_handle::esp_tls_last_error
of standard esp error type (esp_err_t)

Closes https://github.com/espressif/esp-mqtt/issues/182
2021-02-16 09:00:43 +01:00
..
esp-tls-crypto esp32/esp-tls: Make crypto abstraction layer inside esp-tls 2020-10-23 05:16:06 +00:00
private_include tcp_transport: Extend transport error storage for socket error 2020-11-12 12:46:22 +00:00
test esp-tls: Added unit tests 2021-01-21 01:17:23 +00:00
CMakeLists.txt tcp_transport: Extend transport error storage for socket error 2020-11-12 12:46:22 +00:00
component.mk tcp_transport: Extend transport error storage for socket error 2020-11-12 12:46:22 +00:00
esp_tls_error_capture.c tcp_transport: Extend transport error storage for socket error 2020-11-12 12:46:22 +00:00
esp_tls_errors.h tcp_transport: Add TCP transport connection errors 2021-02-16 09:00:43 +01:00
esp_tls_mbedtls.c esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c 2021-02-10 02:07:58 +00:00
esp_tls_wolfssl.c esp_tls_wolfssl: Move order of crt_bundle check to match that in 2021-01-21 01:17:23 +00:00
esp_tls.c Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection 2021-01-22 06:56:28 +00:00
esp_tls.h tcp_transport: Add TCP transport connection errors 2021-02-16 09:00:43 +01:00
Kconfig esp32c3/Digital Signature: mbedtls integration through ESP-TLS 2021-01-22 11:54:16 +05:30