mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Motivation: According to the Linux man page the msg_len field supposed to be used to return a number of bytes sent for the particular message. It does not make a sense to initialize it with a size of the message. Modifications: Change msg_leg field initialization, use 0 instead of message size. Result: Use sendmmsg() call properly. Co-authored-by: Cory Benfield <lukasa@apple.com>