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-411) Return code for Payload does not match Payload Format


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

Ken Borgendale commented on MQTT-411:
-------------------------------------

Calling this a protocol error is inconsistent with the statement that the receiver MAY check it.  We do not for instance even say that the publisher MUST NOT send something marked as text which is not valid UTF-8.  We simply say the receiver MAY validate it and reject it.

On practical considerations, this is quite possibly something specified by the client application and if we make it a protocol error then a server (and full function client library) would almost certainly feel obligated to check it before publication.  

> Return code for Payload does not match Payload Format
> -----------------------------------------------------
>
>                 Key: MQTT-411
>                 URL: https://issues.oasis-open.org/browse/MQTT-411
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Bug
>    Affects Versions: 5, wd11
>            Reporter: Ken Borgendale
>            Assignee: Ken Borgendale
>            Priority: Minor
>             Fix For: 5, wd11
>
>
> In section 3.3.2.4 Payload Format Indicator we say the receiver MAY validate the Payload is of the specified format.  However we do not define a Return Code for this.  Also in this case it would make sense in the case of a QoS>0 message send send a NAK rather than closing the connection.



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