There are a bunch of different recommendations on how to set the size into espconn_secure_set_size. However, I suspect that the root cause is that the buffer is not being negotiated during the session setup. TLS wants a record size of 16k, but this can be negoiatiated down (in powers of two).
If I try setting the espconn_secure_set_size to 4096, it doesn't tell the other end of the connection that the client can only handle 4096 bytes. This causes all sort of problems later.
Can this be fixed so that the TLS ClientHello signals the buffer size?
Philip
Use of espconn_secure_set_size
Who is online
Users browsing this forum: No registered users and 15 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.