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] Updated: (MQTT-38) Malformed QoS for topics in SUBSCRIBE packet


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

Andrew Banks updated MQTT-38:
-----------------------------

    Proposal: 
Section 2.2.2 now says: 
The remaining bits[3-0] of byte 1 in the fixed header contain flags specific to each MQTT Control Packet type as detailed in the table below.  Where a bit is unused, it must be set to zero and is reserved for future use. If invalid flags are received, the receiver MUST disconnect the TCP connection.


So, in the case of SUBSCRIBE the server will disconnect the client's TCP connection if  Qos is not  0, or 1, or 2.
It will also disconnect the clients tcp connection if  Bit 0 (Reseved) in not 0. 

> Malformed QoS for topics in SUBSCRIBE packet
> --------------------------------------------
>
>                 Key: MQTT-38
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-38
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: core
>            Reporter: Rahul Gupta
>            Priority: Minor
>
> In current specification for SUBSCRIBE packet, QoS could be set per topic subscription request, the current document states that:
> "The upper 6 bits of this byte are not used in the current version of the protocol. They are reserved for future use.  
> A request with both QoS level bits set SHOULD be considered an invalid packet and the connection closed.  "
> I am opening this JIRA issue for two things.
> a) to get clarity in the sentence, for consideration of invalid packet
> b) what should be done by the MQTT server, when it receives the SUBSCRIBE packet with malformed QoS section

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