Skip to content
Commit afaf4cdd authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: sockets: tls: Implement handshake timeout



Currently, the handshake operation could only be fully blocking or
non-blocking. This did not play well if SO_RCVTIMEO was set for DTLS
server, as the recv() call where the blocking handshake was used, could
block indefinitely, ignoring the timeout parameter. Fix this, by
allowing for the handshake operation to timeout.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 9082d4b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment