Skip to content
Commit 6975d923 authored by Pavlo Hamov's avatar Pavlo Hamov Committed by Anas Nashif
Browse files

net: socket: fix significant buffer tls send



Sending of > 2k buffers leads to split socket writes.
Current implementation is not checking for full buffer size.
ztls_sendmsg_ctx proceeds to next iov on sucessful write.

Solution: Add loop into ztls_sendmsg_ctx to process whole buffer
before proceeding to next iov.

Signed-off-by: default avatarPavlo Hamov <pasha.gamov@gmail.com>
parent 34a1d676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment