esp_http_client: Fix when receive FIN, close the connection in internal.

Closes https://github.com/espressif/esp-idf/issues/7036
This commit is contained in:
yuanjm
2021-07-02 15:25:06 +08:00
committed by bot
parent e1c978a03b
commit 02367b44ef
3 changed files with 9 additions and 0 deletions

View File

@@ -596,6 +596,9 @@ static const esp_err_msg_t esp_err_msg_table[] = {
# endif
# ifdef ESP_ERR_HTTP_EAGAIN
ERR_TBL_IT(ESP_ERR_HTTP_EAGAIN), /* 28679 0x7007 Mapping of errno EAGAIN to esp_err_t */
# endif
# ifdef ESP_ERR_HTTP_CONNECTION_CLOSED
ERR_TBL_IT(ESP_ERR_HTTP_CONNECTION_CLOSED), /* 28680 0x7008 Read FIN from peer and the connection closed */
# endif
// components/esp-tls/esp_tls_errors.h
# ifdef ESP_ERR_ESP_TLS_BASE