-
-
Notifications
You must be signed in to change notification settings - Fork 475
Open
Description
In this block here
Line 550 in 955c1ac
if hdr.msg_flags & libc::MSG_TRUNC != 0 { |
pub truncated: bool,
field in RecvMeta
, I'm thinking that is the best approach (I am mainly only using AI to ask about ridiculous OS related things, to be clear).
I know that I could just use large enough byte buffers everywhere, but there are networks with large MTUs and I even forsee possible u16::MAX
buffers in my use cases. I would prefer to just detect truncation and write code once to automatically increase buffer sizes as necessary so that I don't have to think about this.
Metadata
Metadata
Assignees
Labels
No labels