Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Robert Lubos <[email protected]>
- Loading branch information