[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=65011#comment-65011 ]
Andrew Banks commented on MQTT-411:
-----------------------------------
I agree there should be a specific disconnect return code for this, we should however treat it as a protocol error.
The sender implementation has some form of error in it, the debate for me, is how hard the receiver tries to check for the senders error.
> 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]