Mosquitto 1.6.9 has been released, this is a bugfix release.


  • Fix session expiry with very large expiry intervals. Closes #1525.
  • Check ACL patterns for validity when loading. Closes #1539.
  • Use presence of password file as indicator for whether username checks should take place, not whether usernames are defined in the password file. Closes #1545.
  • Strip whitespace from end of config file string options. Closes #1566.
  • Satisfy valgrind when exiting on error due to not being able to open a listening socket, by calling freeaddrinfo. Closes #1565.
  • Fix config->user not being freed on exit. Closes #1564.
  • Fix trailing whitespace not being trimmed on acl users. Closes #1539.
  • Fix bind_interface not working for the default listener. Closes #1533.
  • Improve password file parsing in the broker and mosquitto_passwd. Closes #1584.
  • Print OpenSSL errors in more situations, like when loading certificates fails. Closes #1552.
  • Fix mosquitto_client_protocol() returning incorrect values.

Client library

  • Set minimum keepalive argument to mosquitto_connect*() to be 5 seconds. Closes #1550.
  • Fix mosquitto_topic_matches_sub() not returning MOSQ_ERR_INVAL if the topic contains a wildcard. Closes #1589.


  • Fix --remove-retained not obeying the -T option for filtering out topics. Closes #1585.
  • Default behaviour for v5 clients using -c is now to use infinite length sessions, as with v3 clients. Closes #1546.