Clarify Handling of DISCONNECT Expiry interval error in WD04

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • 5, wd10
    • Affects Version/s: wd04, 5
    • Component/s: core
    • Hide

      The server sends a DISCONNECT packet indicating a protocol error rc=0x82 in response to receiving DISCONNECT with an invalid Session Expiry.

      Show
      The server sends a DISCONNECT packet indicating a protocol error rc=0x82 in response to receiving DISCONNECT with an invalid Session Expiry.

      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).

            Assignee:
            Andrew Banks (Inactive)
            Reporter:
            edbriggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: