← Prev in month ← Prev in thread

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

From
OASIS Issues Tracker <>
Date
2016-12-13T13:54:47+00:00
ID
Thread
[OASIS Issue Tracker] (MQTT-329) Remove the ID/Value Pair length field
Allan Stockdill-Mander created MQTT-329:
-------------------------------------------

             Summary: 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
            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)
← Prev in month ← Prev in thread