Fix local bridges being disconnected on SIGHUP.

Closes #1942. Thanks to charlemagnelasse.
release/1.6
Roger A. Light 5 years ago
parent 26e6bfb756
commit a4c67d0cc9

@ -2,6 +2,8 @@ Broker:
- Fix crash on Windows if loading a plugin fails. Closes #1866.
- Fix DH group not being set for TLS connections, which meant ciphers using
DHE couldn't be used. Closes #1925. Closes #1476.
- Fix local bridges being disconnected on SIGHUP. Closes #1942.
- Fix listener not being reassociated with client when reloading a persistence
file and `per_listener_settings true` is set and the client did not set a

@ -1025,6 +1025,10 @@ int mosquitto_security_apply_default(struct mosquitto_db *db)
#endif
HASH_ITER(hh_id, db->contexts_by_id, context, ctxt_tmp){
if(context->bridge){
continue;
}
/* Check for anonymous clients when allow_anonymous is false */
if(db->config->per_listener_settings){
if(context->listener){

Loading…
Cancel
Save