Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W47.2026 · 16–22 Novocaml-multicore/ocaml-uring

Features

  • ocaml-uring Msghdr.t reuse: a message header created with Msghdr.create_recv can now be passed to recv_msg repeatedly, with each receive overwriting the prior data, file descriptors and address. See ocaml-uring #175.

  • API cleanup: the deprecated Uring.peek and Msghdr.create functions are removed, and the sender address is now stored inside the message header rather than a separate allocation. See #168.

Compatibility

  • Build flags: the bundled liburing is now compiled with the compiler's standard flags (adding -fPIC and -Wall), resolving a shared-object relocation error. See #178 and #177.

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.wait signal handling: a signal arriving after a submission now interrupts wait and returns None, instead of being swallowed and then triggering an assertion. See #179.

  • statx buffer: the statx result buffer is now zero-initialised, so Uring.Statx.size reports 0 before 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_max buffers now raises Invalid_argument before anything is queued. See #173.