paho.mqtt.python icon indicating copy to clipboard operation
paho.mqtt.python copied to clipboard

Do not decrease inflight messages on `PUBREL`

Open rubenbaer opened this issue 11 months ago • 0 comments

When a QoS 2 message is received, the inflight messages was decremented on PUBREL. But the inflight messages must be a count of sent but not received messages. This yielded a negative inflight count for QoS 2 messages.

This change removes this decrement and fixes #805.

rubenbaer avatar Mar 05 '25 10:03 rubenbaer