mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix bridges possibly not completing connections when WITH_ADNS is in use.
Closes #1960. Thanks to twegener-embertec.
This commit is contained in:
parent
de141540fb
commit
d05a49a2cf
@ -3,6 +3,8 @@ Broker:
|
||||
high. Closes #1947.
|
||||
- Fix LWT not being sent on client takeover when the existing session wasn't
|
||||
being continued. Closes #1946.
|
||||
- Fix bridges possibly not completing connections when WITH_ADNS is in use.
|
||||
Closes #1960.
|
||||
|
||||
Clients:
|
||||
- Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful
|
||||
|
@ -776,6 +776,8 @@ void bridge_check(void)
|
||||
mux__add_out(context);
|
||||
}
|
||||
}else if(rc == MOSQ_ERR_CONN_PENDING){
|
||||
mux__add_in(context);
|
||||
mux__add_out(context);
|
||||
context->bridge->restart_t = 0;
|
||||
}else{
|
||||
context->bridge->cur_address++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user