You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_http_client_close always returns -1 on an https request
esp_http_client_close always returns -1 on an https request (IDFGH-2810)
Mar 2, 2020
Problem Description
in the current 3.3 stable branch and master branches esp_http_client_close always returns ESP_FAIL. The errno is always 9.
This appears to be a result of transport_ssl.c's implementation of ssl_close where the return value is always -1
esp-idf/components/tcp_transport/transport_ssl.c
Line 168 in aa3b1da
because the current implementation of esp_http_client_close always returns the result of esp_transport_close.
This conflicts with the names of the returned values according to the docs: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/esp_http_client.html#_CPPv421esp_http_client_close24esp_http_client_handle_t
The text was updated successfully, but these errors were encountered: