Features
-
ocaml-uring
Msghdr.treuse: a message header created withMsghdr.create_recvcan now be passed torecv_msgrepeatedly, with each receive overwriting the prior data, file descriptors and address. See ocaml-uring #175. -
API cleanup: the deprecated
Uring.peekandMsghdr.createfunctions are removed, and the sender address is now stored inside the message header rather than a separate allocation. See #168.
Compatibility
Proposals
- I/O length clamping: an open change would clamp I/O lengths to the 32-bit field the submission queue entry can hold, and reject negative lengths. See #171.
Fixes
-
Uring.waitsignal handling: a signal arriving after a submission now interruptswaitand returnsNone, instead of being swallowed and then triggering an assertion. See #179. -
statxbuffer: thestatxresult buffer is now zero-initialised, soUring.Statx.sizereports0before a query rather than stale stack data. See #180. -
Path handling: paths containing NUL bytes are rejected instead of silently truncated, and the path length is treated as an unsigned size to avoid misbehaviour with very long paths. See #172 and #176.
-
Buffer count limit: submitting more than
iov_maxbuffers now raisesInvalid_argumentbefore anything is queued. See #173.