Commit ec51902
Make sure the client does not enter a disconnect/connect loop (#317)
When the client recieves an ack for a publish is does not know about it
will disconnect and reconnect receiving the same ack again. This can only be fixed
by using clean session which is not always desirable. This patch makes sure the
client ignores the message so that the flow can continue
Signed-off-by: Hmvp <github@hmvp.nl>1 parent 1a4ce61 commit ec51902
1 file changed
Lines changed: 8 additions & 0 deletions
File tree
- org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
0 commit comments