facil.io v0.4.2 Release Notes
-
๐ Fix: (
sock
) Fixed an issue with thesendfile
implementation on macOS and BSD, where medium to large files wouldn't be sent correctly.๐ Fix: (
sock
) Fixed thesock_rw_hook_set
implementation (would lock the wrongfd
).Design: (
facil
) Separated the Read/Write hooks from the protocol'son_open
callback by adding aset_rw_hook
callback, allowing the same protocol to be used either with or without Read/Write hooks (i.e., both HTTP and HTTPS can share the sameon_open
function).๐ Fix: (
evio
,facil
) Closes theevio
once facil.io finished running, presumably allowing facil.io to be reinitialized and run again.๐ Fix: (
defer
) return an error ifdefer_perform_in_fork
is called from within a running defer-forked process.๐ Fix: (
sock
,facil
, bscrypt) Add missingstatic
keywords.Compatibility: (bscrypt) Add an alternative
HAS_UNIX_FEATURES
test that fits older *nix compilers.