1
0
Fork 0
forked from wry/wry

Merge pull request #693 from mahkoh/jorth/increase-cmsg-buf-size

io_uring: increase cmsg_buf size from 256 to 1024
This commit is contained in:
mahkoh 2025-12-17 14:18:39 +01:00 committed by GitHub
commit 7562479aca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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))
}
}