facil.io v0.4.2 Release Notes

  • ๐Ÿ›  Fix: (sock) Fixed an issue with the sendfile implementation on macOS and BSD, where medium to large files wouldn't be sent correctly.

    ๐Ÿ›  Fix: (sock) Fixed the sock_rw_hook_set implementation (would lock the wrong fd).

    Design: (facil) Separated the Read/Write hooks from the protocol's on_open callback by adding a set_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 same on_open function).

    ๐Ÿ›  Fix: (evio, facil) Closes the evio once facil.io finished running, presumably allowing facil.io to be reinitialized and run again.

    ๐Ÿ›  Fix: (defer) return an error if defer_perform_in_fork is called from within a running defer-forked process.

    ๐Ÿ›  Fix: (sock, facil, bscrypt) Add missing static keywords.

    Compatibility: (bscrypt) Add an alternative HAS_UNIX_FEATURES test that fits older *nix compilers.