mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
ss: mqtt: allow ACK_REMOTE to ACK_REMOTE transition
MQTT doesn't follow http type transaction flow, so it's quite possible to have n PUBLISH getting acked in a row.
This commit is contained in:
parent
8fc7dc33a3
commit
d213b0fb1f
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ static const uint32_t ss_state_txn_validity[] = {
|
|||
|
||||
[LWSSSCS_QOS_ACK_REMOTE] = (1 << LWSSSCS_DISCONNECTED) |
|
||||
(1 << LWSSSCS_TIMEOUT) |
|
||||
(1 << LWSSSCS_QOS_ACK_REMOTE) | /* mqtt */
|
||||
(1 << LWSSSCS_DESTROYING),
|
||||
|
||||
[LWSSSCS_QOS_NACK_REMOTE] = (1 << LWSSSCS_DISCONNECTED) |
|
||||
|
|
Loading…
Add table
Reference in a new issue