Use of espconn_secure_set_size

philip
Posts: 12
Joined: Thu Jan 14, 2016 11:47 am

Use of espconn_secure_set_size

Postby philip » Sun Mar 06, 2016 12:54 pm

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

Who is online

Users browsing this forum: No registered users and 15 guests