Skip to content
Commit 8697cc94 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
Browse files

net: tls: Add timeout for mbetTLS read



Specify timeout value for mbedtls_ssl_read function for DTLS servers.
Adding this can prevent TLS context lockup in case blocking recv is used
and peer has shut down DTLS connection without closing it gracefully.

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