Fix local bridges being disconnected on SIGHUP.

Closes #1942. Thanks to charlemagnelasse.
pull/1964/head
Roger A. Light 5 years ago
parent 00c68203b8
commit 1d92184b2f

@ -7,6 +7,7 @@ Broker:
Closes #1960.
- Fix QoS 0 messages not being delivered if max_queued_messages was set to 0.
Closes #1956.
- Fix local bridges being disconnected on SIGHUP. Closes #1942.
Clients:
- Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful

@ -1112,6 +1112,10 @@ int mosquitto_security_apply_default(void)
#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