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] Commented: (MQTT-35) What is supposed to happen when the KeepAlive timeout expires?


    [ http://tools.oasis-open.org/issues/browse/MQTT-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33860#action_33860 ] 

Andrew Banks commented on MQTT-35:
----------------------------------

Peter, I would suggest that a keep alive expiry should be treated the same as a network failure.

Cause: Network failure or keep alive expiry.
Effect: Server side state cleared if cleanSession=1, will message sent.

Cause:DISCONNECT received by the server.
Effect: Server side state cleared if cleanSession=1, no will message sent.

> 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
>          Components: core
>            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 3.1.2.5.  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]