OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Created: (MQTT-35) What is supposed to happen when the KeepAlive timeout expires?

What is supposed to happen when the KeepAlive timeout expires?

                 Key: MQTT-35
                 URL: http://tools.oasis-open.org/issues/browse/MQTT-35
             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
          Issue Type: Improvement
            Reporter: Peter Niblett

1. Is a Will Message published on behalf of the client (assuming one was specified on the CONNECT)?

I had always assumes that the answer to this is Yes, however WD04 lines 650-653 say

"If the server does not receive a message from the client.... it disconnects the client as if the client had sent a DISCONNECT message". Now if the client sends a DISCONNECT message then a Will Message is not generated, so that would suggest one isn't generated in the keepAlive disconnect case either.

2.  The paragraph then goes on to say "This action does not impact any of the client's subscriptions".  This contradicts the discussion of cleanSession in  According to that section the subscriptions are only unaffected if the client had connected using cleanSession = 0.  If it had used cleanSession = 1, then the subscriptions are deleted when a disconnect (of any kind) occurs.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]