[OASIS Issue Tracker] (MQTT-329) Remove the ID/Value Pair length field

From
OASIS Issues Tracker <>
Date
2016-12-13T22:22:46+00:00
ID
Thread
[OASIS Issue Tracker] (MQTT-329) Remove the ID/Value Pair length field
[ https://issues.oasis-open.org/browse/MQTT-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Raymor updated MQTT-329:
------------------------------

    Affects Version/s: 5

> Remove the ID/Value Pair length field
> -------------------------------------
>
>                 Key: MQTT-329
>                 URL: https://issues.oasis-open.org/browse/MQTT-329
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>    Affects Versions: 5
>            Reporter: Allan Stockdill-Mander
>            Priority: Minor
>
> The current spec requires an id/value pair length field indicating how many bytes constitute the id/value pairs in the controlpacket, prior to any payload that may be in the controlpacket as well. From an implementer's point of view this means allocating and building a buffer to hold this data so it can be counted and the value inserted logically prior to this buffer. This is particularly problematic as the value is a Variable Byte Integer so space in a larger control packet buffer cannot be preallocated then filled afterwards (same annoyance occurs with the remaining length field earlier in the control packet).



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)