tokio-rs / tokio-uring

An io_uring backed runtime for Rust
MIT License
1.13k stars 122 forks source link

bug: msghdr lifetime in SendMesgZc #260

Closed ollie-etl closed 1 year ago

ollie-etl commented 1 year ago

Box msghdr in SendMsgZc struct to ensure it is stable through the lifetime of the op.

ollie-etl commented 1 year ago

@Noah-Kennedy this should be uncontentious

Icelk commented 1 year ago

@ollie-etl Have you managed to pass a msg_control larger than 15 bytes?

ollie-etl commented 1 year ago

@Icelk I haven't tried. My interest in these is the vectored send / recv they provide.