Skip to content
Commit ca7e6952 authored by Markus Lassila's avatar Markus Lassila Committed by Maureen Helm
Browse files

net: sockets: tls: Timeout DTLS with poll



Changed poll to perform incoming data check with connected
DTLS connections. This allows the CONFIG_NET_SOCKETS_DTLS_TIMEOUT
to timeout the connections to server socket if there is no
incoming data.

Previously, if the remote client closed the DTLS connection without
close notify, the timeout of the ongoing connection only happened
when next connection was taken to the server socket. Depending on
the timeouts, this could prevent the next connection from succeeding.

Signed-off-by: default avatarMarkus Lassila <markus.lassila@nordicsemi.no>
parent 41289dac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment