1
0
Fork 0
forked from wry/wry

io_uring: increase cmsg_buf size from 256 to 1024

This commit is contained in:
Julian Orth 2025-12-17 14:14:37 +01:00
parent 9448fcde19
commit b307d1e06d

View file

@ -524,7 +524,9 @@ impl IoUringData {
}
fn cmsg_buf(&self) -> Buf {
self.cached_cmsg_bufs.pop().unwrap_or_else(|| Buf::new(256))
self.cached_cmsg_bufs
.pop()
.unwrap_or_else(|| Buf::new(1024))
}
}