mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
- If internet connectivity weakened or disappeared suddenly while we were in the TLS handshake stage, the app got stuck at that point indefinitely. - This was because when timeout was not explicitly specified in esp_tls_cfg_t, the default timeout was set at the wrong place. This causes the sockets to be setup with zero timeout, hence the indefinite wait.