Thicket thicket
ocaml
REPOS 1

Multicore covers libraries for effects, domains and concurrent programming.

W28.2026 · 6–12 Julocaml-multicore/eio

Features

  • Eio.Net.getaddrinfo and getaddrinfo_stream now raise Address_lookup_failed on resolution errors instead of returning an empty list. AI_ADDRCONFIG is passed on eio_linux and eio_posix, restricting results to configured address families. Fixes #776, #351. (#866)

  • Eio.Path.load now uses a buffered reader with a sensible minimum buffer size, so files in /proc (which report size 0) read correctly. Fixes #835, #798. (#869, #878)

  • On eio_linux, fstat now uses statx with AT_EMPTY_PATH, populating blksize and blocks fields previously left unset. Requires Linux ≥ 5.18 for the io_uring path. (#865)

  • Open proposal: a ~options GADT for Eio.Net.connect and Eio.Net.listen to set socket options and bind addresses before the connection is established. Discussion is exploring a lower-level BSD-socket-style API as an alternative. (#875)

Fixes

  • chmod and chown on confined paths no longer follow symlinks that point outside the sandbox. eio_linux uses O_PATH + AT_EMPTY_PATH; eio_posix resolves symlinks manually. Requires kernel 6.6 / glibc 2.39+ for the fchmodat2 path, with a /proc/self/fd fallback. (#872, #877)

  • eio_linux read/write now hold the file descriptor open until Uring.submit, matching the lifetime discipline of readv/writev. The previous code could close the fd before the submission. (#871)

Compatibility and Releases

  • The uring dependency minimum is raised to 2.15.0+; OCaml 5.5 is used in CI Dockerfiles. (#867)

  • Windows byte-code builds no longer fail with flexdll relocation errors; unixsupport functions are redeclared CAMLextern. (#881)