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-327) Words like Malformed Control Packet and Protocol Errors are used randomly


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

Andrew Banks updated MQTT-327:
------------------------------

    Description: 
We need to have consistency in the usage of malformed control packets and protocol errors .


In  PUBLISH 3.3.5 we say 
1)	A Topic Alias value of zero or greater than the Maximum Alias is a protocol error, the receiver MUST send a DISCONNECT Packet with a 0x82 (Protocol error) Return code and then close the Network Connection. 

The client has been authenticated so there is no reason to hide the detection of a malformed packet or protocol error hence we should mandate the sending of the disconnect packet. 

In section 4.13 Handling errors.

Remove the "MUST close the Network Connection" in the case of protocol errors, otherwise the receiver is required to detect every possible protocol error.

  was:We need to have consistency in the usage of malformed control packets and protocol errors .

       Proposal: 
Replace the first paragraph in section 4.13 Handling Errors with :

A malformed packet is one that cannot be parsed according to this specification. A protocol error is detected after the packet has been parsed and found to contain data that is not allowed by the protocol or is inconsistent with the state of the client or server.   

The server processes a CONNECT packet according to section 3.14. If any other malformed packet is received by the Client or Server or a protocol error is detected, the receiver MUST send a DISCONNECT Packet with a Return code of 128 or greater and then it MUST close the Network Connection.



> Words like Malformed Control Packet and Protocol Errors are used randomly
> -------------------------------------------------------------------------
>
>                 Key: MQTT-327
>                 URL: https://issues.oasis-open.org/browse/MQTT-327
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Bug
>          Components: edits
>    Affects Versions: wd09, wd10
>            Reporter: Rahul Gupta
>            Assignee: Rahul Gupta
>            Priority: Minor
>             Fix For: wd10
>
>
> We need to have consistency in the usage of malformed control packets and protocol errors .
> In  PUBLISH 3.3.5 we say 
> 1)	A Topic Alias value of zero or greater than the Maximum Alias is a protocol error, the receiver MUST send a DISCONNECT Packet with a 0x82 (Protocol error) Return code and then close the Network Connection. 
> The client has been authenticated so there is no reason to hide the detection of a malformed packet or protocol error hence we should mandate the sending of the disconnect packet. 
> In section 4.13 Handling errors.
> Remove the "MUST close the Network Connection" in the case of protocol errors, otherwise the receiver is required to detect every possible protocol error.



--
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]