Timeout for esp_tls_conn_read()?

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

Timeout for esp_tls_conn_read()?

Postby zliudr » Thu Oct 31, 2019 1:34 pm

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.

Who is online

Users browsing this forum: Google [Bot], ok-home and 106 guests