Skip to content

Commit

Permalink
MQTT QoS2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Aug 28, 2023
1 parent f50b772 commit ad2e9d7
Show file tree
Hide file tree
Showing 4 changed files with 1,352 additions and 362 deletions.
2 changes: 1 addition & 1 deletion server/client.go
Expand Up @@ -4223,7 +4223,7 @@ func (c *client) processServiceImport(si *serviceImport, acc *Account, msg []byt
c.pa.reply = nrr

if changed && c.isMqtt() && c.pa.hdr > 0 {
c.srv.mqttStoreQoS1MsgForAccountOnNewSubject(c.pa.hdr, msg, siAcc.GetName(), to)
c.srv.mqttStoreQoSMsgForAccountOnNewSubject(c.pa.hdr, msg, siAcc.GetName(), to)
}

// FIXME(dlc) - Do L1 cache trick like normal client?
Expand Down

0 comments on commit ad2e9d7

Please sign in to comment.