Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Documentation of TLSSocket behavior on AUTH_FAILURE #9392
It is not possible to store TLS certificate after opening a TLSSocket, due to mbedTLS limitation. We update the documentation to warn users and explain the reason.
Pull request type
Surely this is nothing to do with "AUTH_FAILURE"? It's a general restriction that the socket can only be used for one connection (attempt).
That limitation is not that unusual for connection-type sockets in general, but may be worth noting here.
(POSIX says: "If connect() fails, the state of the socket is unspecified. Conforming applications should close the file descriptor and create a new socket before attempting to reconnect.")
Jan 21, 2019
I think they are addressed, although I would prefer to see an explicit OK from @SeppoTakalo regarding the error code returns ;-)
I can see that 4 out of 5 failing greentea tests are not even related to ipcore.
@0xc0170 , is this something I should worry about?