Skip to content
Commit c1fa5859 authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: sockets: tls: Ignore empty iovec entries in sendmsg



According to `sendmsg()` man pages, the `struct msghdr` can contain
empty records (iov_len equal to 0). Ignore them in TLS `sendmsg()`
implementation to avoid unnecessary calls to mbed TLS.

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