Fix qos0 messages not being queued when queue_qos0_message enabled.
Closes #2224. Thanks to Luigi Caiffa.
This commit is contained in:
parent
ea7e2a6bca
commit
99d7299b24
@ -15,6 +15,8 @@ Broker:
|
||||
- Fix non-reachable bridge blocking the broker on Windows. Closes #2172.
|
||||
- Fix possible corruption of pollfd array on Windows when bridges were
|
||||
reconnecting. Closes #2173.
|
||||
- Fix QoS 0 messages not being queued when `queue_qos0_messages` was enabled.
|
||||
Closes #2224.
|
||||
|
||||
Clients:
|
||||
- If sending mosquitto_sub output to a pipe, mosquitto_sub will now detect
|
||||
|
@ -110,7 +110,7 @@ bool db__ready_for_queue(struct mosquitto *context, int qos, struct mosquitto_ms
|
||||
return true;
|
||||
}
|
||||
|
||||
if(qos == 0){
|
||||
if(qos == 0 && db.config->queue_qos0_messages == false){
|
||||
return false; /* This case is handled in db__ready_for_flight() */
|
||||
}else{
|
||||
source_bytes = (ssize_t)msg_data->msg_bytes12;
|
||||
|
@ -27,6 +27,8 @@ release.
|
||||
- Fix non-reachable bridge blocking the broker on Windows. Closes #2172.
|
||||
- Fix possible corruption of pollfd array on Windows when bridges were
|
||||
reconnecting. Closes [#2173].
|
||||
- Fix QoS 0 messages not being queued when `queue_qos0_messages` was enabled.
|
||||
Closes [#2224].
|
||||
|
||||
# Clients
|
||||
- If sending mosquitto_sub output to a pipe, mosquitto_sub will now detect
|
||||
@ -41,3 +43,4 @@ release.
|
||||
[#2173]: https://github.com/eclipse/mosquitto/issues/2173
|
||||
[#2187]: https://github.com/eclipse/mosquitto/issues/2187
|
||||
[#2207]: https://github.com/eclipse/mosquitto/issues/2207
|
||||
[#2224]: https://github.com/eclipse/mosquitto/issues/2224
|
||||
|
Loading…
Reference in New Issue
Block a user