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] (MQTT-307) Clarify Handling of DISCONNECT Expiry interval error in WD04


     [ https://issues.oasis-open.org/browse/MQTT-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Banks updated MQTT-307:
------------------------------

    Proposal: The server sends a DISCONNECT packet indicating a protocol error rc=0x82  in response to receiving DISCONNECT with an invalid Session Expiry.  (was: Clarify to say the nether the client or the server send a DISCONNECT packet in response to receiving DISCONNECT with an invalid Session Expiry, they simply disconnect as normal according to section 3.14.4.)

> Clarify Handling of DISCONNECT Expiry interval error in WD04
> ------------------------------------------------------------
>
>                 Key: MQTT-307
>                 URL: https://issues.oasis-open.org/browse/MQTT-307
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: wd04, 5
>            Reporter: Ed Briggs
>            Assignee: Andrew Banks
>              Labels: Proposed
>             Fix For: 5, wd10
>
>
> WD04 Section 3.14 Line 1833 says "If the Session State Expiry interval in the CONNECT packet was zero it is a protocol error to set a non zero Session Expiry in the DISCONNECT packet"
> The text does not state how this error should be handled by the recipient. I don't think it would hurt to say 'The erroneous value will be treated as a zero, and the processing of the DISCONNECT message will proceed as described in section 3.14 (which says it MUST close the network connection and not send any more control packets, and not trigger a WILL message if the DISCONNECT return code is less than 128).



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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