mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 09:05:59 +08:00
Merge branch 'bugfix/fix_esp_tls_server_compiling_error' into 'master'
fix(esp-tls): fix esp-tls compiling error See merge request sdk/ESP8266_RTOS_SDK!1300
This commit is contained in:
@ -470,8 +470,8 @@ int esp_mbedtls_server_session_create(esp_tls_cfg_server_t *cfg, int sockfd, esp
|
||||
tls->conn_state = ESP_TLS_FAIL;
|
||||
return -1;
|
||||
}
|
||||
tls->read = esp_mbedtls_read;
|
||||
tls->write = esp_mbedtls_write;
|
||||
tls->_read = esp_mbedtls_read;
|
||||
tls->_write = esp_mbedtls_write;
|
||||
int ret;
|
||||
while ((ret = mbedtls_ssl_handshake(&tls->ssl)) != 0) {
|
||||
if (ret != ESP_TLS_ERR_SSL_WANT_READ && ret != ESP_TLS_ERR_SSL_WANT_WRITE) {
|
||||
|
3
examples/protocols/https_request/sdkconfig.ci
Normal file
3
examples/protocols/https_request/sdkconfig.ci
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_LWIP_IPV6=y
|
||||
|
||||
CONFIG_ESP_TLS_SERVER=y
|
Reference in New Issue
Block a user