Skip to content
Commit 0383b7fb authored by Robert Lubos's avatar Robert Lubos Committed by Henrik Brix Andersen
Browse files

net: sockets: tls: Return an error on send() after session is closed



It was an overlook to return 0 on TLS send() call, after detecting that
TLS session has been closed by peer, such a behavior is only valid for
recv(). Instead, an error should be returned.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit dc52b207)
parent 169020a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment