FlashMQ 1.16.0 released

FlashMQ 1.16.0 has one new feature and some bug fixes:

New feature

The retained_messages_mode has an extra option: enabled_without_retaining. This propagates the ‘retain’ bit to subscribers with the ‘retain as published’ subscription option, but doesn’t actually set the retained message. Also see the related bug fix about downgrade mode.

In the plugin, this can be achieved by returning AuthResult::success_without_setting_retained.

Bug fixes and enhancements

  • Reduced amount of memory allocations in looking up subscribers.
  • The retained_messages_modes of downgrade now actually removes the ‘retain’ bit from the message.
  • When a publish message has a ‘Payload Format Indicator’ set, the payload is now checked for valid UTF-8.
  • Reject empty topic filter after shared subscription prefix.
  • Don’t allow ‘no local’ subscription option on shared subscriptions, as per the spec.
  • Reject empty response topics.
  • The ‘Content-Type’ string is checked for valid UTF-8 text.
  • Fix crash (signal ABORT) on early exit when plugin throws exception in flashmq_plugin_init.
  • Exit with error when plugin flashmq_plugin_main_init throws an exception on startup.

Downloads available.

You Might Also Like