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-310) Treat invalid topic alias as a protocol error.


    [ https://issues.oasis-open.org/browse/MQTT-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63724#comment-63724 ] 

Ken Borgendale commented on MQTT-310:
-------------------------------------

It is very important to note that the Topic Alias id/value pair on publish exists only from sender to receiver and is not forwarded with the message.  This is different from other id/value pairs on publish which are forwarded.  We might needs words to say that the receiver MUST NOT forward a topic alias.

> Treat invalid topic alias as a protocol error.
> ----------------------------------------------
>
>                 Key: MQTT-310
>                 URL: https://issues.oasis-open.org/browse/MQTT-310
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5
>            Reporter: Andrew Banks
>
> Issue 269 MQTT-SN Feature: Topic Registration allows the protocol to continue where an invalid topic alias has been used.
> The network is required to provided an in order lossless connection so the only possible causes of an invalid alias are an incorrect implementation or the sending of publications by the client before the connack has been received informing it of the servers maximum topic alias value. 
> Continuing the message flow risks data loss. In all cases where an invalid topic alias is received the receiver should disconnect with a 130	0x82	Protocol error disconnect code.



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