CHANGES:
Changes:
-
Update to OCaml 5.0.0~beta1 (@anmonteiro @talex5 #346).
-
Add
Flow.write
(@haesbaert #318).
This provides an optimised alternative tocopy
in the case where you are writing from a buffer. -
Add
Net.with_tcp_connect
(@bikallem #302).
Convenience function for opening a TCP connection. -
Add
Eio.Time.Timeout
(@talex5 #320).
Makes it easier to pass timeouts around. -
Add
Buf_read.take_while1
andskip_while1
(@bikallem #309).
These fail if no characters match. -
Make the type parameter for
Promise.t
covariant (@anmonteiro #300). -
Move list functions into a dedicated submodule (@raphael-proust #315).
-
Direct implementation of
Flow.source_string
(@c-cube #317).
Slightly faster.
Bug fixes:
-
Condition.broadcast
must interlock as well (@haesbaert #324). -
Split the reads into no more than 2^32-1 for luv (@haesbaert @talex5 @EduardoRFS #343).
Luv uses a 32 bit int for buffer sizes and wraps if the value passed is too big. -
eio_luv: allow
Net.connect
to be cancelled (@talex5 @nojb #311). -
eio_main: Use dedicated log source (@anmonteiro #326).
-
linux_eio: fix kernel version number in log message (@talex5 @nojb #314).
-
Account for stack differences in the socketpair test (issue #312) (@haesbaert #313).
Documentation: