Aside from general code improvements:
- Support reading the CN field as username from HAProxy headers when HAProxy does client verification.
- Allow plugin function
flashmq_publish_message()from any thread in plugin, including custom ones. - New config option
log_publishes. - Reduce log noise by downgrading frequent events from ERROR. The idea is that ERROR should be actual errors someone is interested in; not just misbehaving clients (which are normal).
- New version of function
flashmq_continue_async_authentication_v4()with delay option. - Fix recent bug where SSL clients are logged as non-SSL (like
TCP/Websocket/Non-SSL (TLSv1.3). - Don’t log non-MQTT clients as if they are. This avoids reporting things like ‘clean session’ on something that is not an MQTT client.
- Reduce heap memory fragmentation caused by frequent setting of retained messages.