Features
-
Eio.Net.getaddrinfoandgetaddrinfo_streamnow raiseAddress_lookup_failedon resolution errors instead of returning an empty list.AI_ADDRCONFIGis passed on eio_linux and eio_posix, restricting results to configured address families. Fixes #776, #351. (#866) -
Eio.Path.loadnow 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,
fstatnow usesstatxwithAT_EMPTY_PATH, populatingblksizeandblocksfields previously left unset. Requires Linux ≥ 5.18 for the io_uring path. (#865) -
Open proposal: a
~optionsGADT forEio.Net.connectandEio.Net.listento 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
-
chmodandchownon confined paths no longer follow symlinks that point outside the sandbox. eio_linux usesO_PATH+AT_EMPTY_PATH; eio_posix resolves symlinks manually. Requires kernel 6.6 / glibc 2.39+ for thefchmodat2path, with a/proc/self/fdfallback. (#872, #877) -
eio_linux
read/writenow hold the file descriptor open untilUring.submit, matching the lifetime discipline ofreadv/writev. The previous code could close the fd before the submission. (#871)