kopia lustrzana https://github.com/espressif/esp-idf
esp-tls : (Fix) update tls->sockfd value after socket is freed internally
Closes https://github.com/espressif/esp-idf/issues/6163pull/6275/head
rodzic
0f8afff021
commit
95d9533294
|
@ -207,6 +207,7 @@ void esp_mbedtls_conn_delete(esp_tls_t *tls)
|
|||
esp_mbedtls_cleanup(tls);
|
||||
if (tls->is_tls) {
|
||||
mbedtls_net_free(&tls->server_fd);
|
||||
tls->sockfd = tls->server_fd.fd;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue