[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mosquitto-dev] Maybe found a bug: Received publish not being ack'd with QOS=2 and `max_inflight_messages 1`
|
I have the mosquitto broker running with `max_inflight_messages 1` in
a very slow 6lowpan network.
What the log below is showing is that the broker ignored a PUBLISH
(the m3) from the client.
Is this the expected behaviour? Should `max_inflight_messages 1`
ignore reception as well?
```
// PUBLISHING m1 OK QOS2 **TO** fe80::c30c:0:0:7
1436123210: Sending PUBLISH to fe80::c30c:0:0:7 (d0, q2, r0, m1,
'test', ... (1 bytes))
1436123213: Received PUBREC from fe80::c30c:0:0:7 (Mid: 1)
1436123213: Sending PUBREL to fe80::c30c:0:0:7 (Mid: 1)
1436123217: Received PUBCOMP from fe80::c30c:0:0:7 (Mid: 1)
// PUBLISHING m2 OK QOS2 **FROM** fe80::c30c:0:0:7
1436123218: Received PUBLISH from fe80::c30c:0:0:7 (d0, q2, r0, m2,
'testout', ... (14 bytes))
1436123218: Sending PUBREC to fe80::c30c:0:0:7 (Mid: 2)
1436123221: Received PUBREL from fe80::c30c:0:0:7 (Mid: 2)
1436123221: Sending PUBCOMP to fe80::c30c:0:0:7 (Mid: 2)
1436123243: Received PINGREQ from fe80::c30c:0:0:7
1436123243: Sending PINGRESP to fe80::c30c:0:0:7
// PUBLISHING m2 OK QOS2 **TO** fe80::c30c:0:0:7
1436123249: Sending PUBLISH to fe80::c30c:0:0:7 (d0, q2, r0, m2,
'test', ... (1 bytes))
1436123253: Received PUBREC from fe80::c30c:0:0:7 (Mid: 2)
1436123253: Sending PUBREL to fe80::c30c:0:0:7 (Mid: 2)
1436123254: Received PUBCOMP from fe80::c30c:0:0:7 (Mid: 2)
// PUBLISHING m3 OK QOS2 **TO** fe80::c30c:0:0:7
// PUBLISHING m3 **BAD** QOS2 **FROM** fe80::c30c:0:0:7
1436123254: Sending PUBLISH to fe80::c30c:0:0:7 (d0, q2, r0, m3,
'test', ... (1 bytes))
// **PROBLEM HERE** THIS PUBLISH HAS NOT BEEN RECEIBED BUT NOT ACKED!
1436123256: Received PUBLISH from fe80::c30c:0:0:7 (d0, q2, r0, m3,
'testout', ... (14 bytes))
// RETRYING PUBLISHING M3 TO fe80::c30c:0:0:7
1436123275: Sending PUBLISH to fe80::c30c:0:0:7 (d1, q2, r0, m3,
'test', ... (1 bytes))
1436123276: Received PUBREC from fe80::c30c:0:0:7 (Mid: 3)
1436123276: Sending PUBREL to fe80::c30c:0:0:7 (Mid: 3)
1436123277: Received PUBCOMP from fe80::c30c:0:0:7 (Mid: 3)
```
--
Skype: felipeanl