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 theon_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 thehttp_listen
to accept the newsock_rw_hook_set
andrw_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.