facil.io v0.4.3 Release Notes

  • ๐Ÿ›  Fix: Some killer error handling should now signal all the process group to exit.

    ๐Ÿ›  Fix: (sock, websocket) sock_buffer_send wouldn't automatically schedule a socket buffer flush. This caused some websocket messages to stay in the unsent buffer until a new event would push them along. Now flushing is scheduled and messages are send immediately, regardless of size.

    ๐Ÿ›  Fix: (facil) facil_attach now correctly calls the on_close callback in case of error.

    ๐Ÿ›  Fix: (facil) facil_protocol_try_lock would return false errors, preventing external access to the internal protocol data... this is now fixed.

    ๐Ÿ”‹ Feature: (facil) Experimental cluster mode messaging, allowing messages to be sent to all the cluster workers. A classic use-case would be a localized pub/sub websocket service that doesn't require a backend database for syncing a single machine... Oh wait, we've added that one too...

    ๐Ÿ”‹ Feature: (facil) Experimental cluster wide pub/sub API with expendable engine support (i.e., I plan to add Redis as a possible engine for websocket pub/sub).

    โšก๏ธ Update: (http) Updated the http_listen to accept the new sock_rw_hook_set and rw_udata options.

    โšก๏ธ Update: (sock) Rewrote some of the error handling code. Will it change anything? only if there were issues I didn't know about. It mostly effects errno value availability, I think.