netty5/codec-mqtt/src
Paul Lysak b112483799
Not truncate MQTT SUBACK reason codes (#10584)
Motivation:

Reason code for MQTT SUBACK messages is truncated, thus not allowing to get new codes supported by MQTT v.5

Modification:

Changed `MqttCodecTest.testUnsubAckMessageForMqtt5` to catch it then, removed truncation in `MqttDecoder.decodeSubackPayload` to make it pass.

Result:

Codec users can get all reason codes supported by MQTT5 now.
2020-09-22 08:58:49 +02:00
..
main/java/io/netty/handler/codec/mqtt Not truncate MQTT SUBACK reason codes (#10584) 2020-09-22 08:58:49 +02:00
test/java/io/netty/handler/codec/mqtt Not truncate MQTT SUBACK reason codes (#10584) 2020-09-22 08:58:49 +02:00