Fix slow initial bridge connections for WITH_ADNS=no.

This commit is contained in:
Roger A. Light 2020-12-17 14:08:51 +00:00
parent f32d9ae97c
commit f10de9831a
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Broker:
- Fix QoS 0 messages not being delivered if max_queued_messages was set to 0. - Fix QoS 0 messages not being delivered if max_queued_messages was set to 0.
Closes #1956. Closes #1956.
- Fix local bridges being disconnected on SIGHUP. Closes #1942. - Fix local bridges being disconnected on SIGHUP. Closes #1942.
- Fix slow initial bridge connections for WITH_ADNS=no.
Clients: Clients:
- Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful - Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful

View File

@ -577,6 +577,7 @@ int bridge__register_local_connections(void)
log__printf(NULL, MOSQ_LOG_ERR, "Error in epoll initial registering bridge: %s", strerror(errno)); log__printf(NULL, MOSQ_LOG_ERR, "Error in epoll initial registering bridge: %s", strerror(errno));
return MOSQ_ERR_UNKNOWN; return MOSQ_ERR_UNKNOWN;
} }
mux__add_out(context);
} }
} }
#endif #endif