Skip to content
Commit 45e07dbb authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
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 f0ec61ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment