Page 1 of 1

Timeout for esp_tls_conn_read()?

Posted: Thu Oct 31, 2019 1:34 pm
by zliudr
Is there a timeout parameter I can set for esp_tls_conn_read()? I run a sample https request code and it times out after about 125 s. The content has already been read but either the server didn't close connection or something, the esp32 keeps waiting in this read call. I would like to set time out to something like a few seconds. Thanks.