netty5/codec-mqtt/src/test/java/io/netty/handler/codec/mqtt
Paolo Patierno 901c66fa81 MQTT encode doesn't complain if password is set but username not
Motivation:

The MQTT decoder should raise an exception trying to build a CONNECT packet where password field is set but not the username one (as by MQTT 3.1/3.1.1 spec).

Modification:

Throw exception if password field is set but not the username

Result:

Fixes [#7205].
2017-09-14 09:37:37 -07:00
..
MqttCodecTest.java MQTT encode doesn't complain if password is set but username not 2017-09-14 09:37:37 -07:00
MqttConnectPayloadTest.java Add null checks before converting to string to avoid NPE. 2017-08-11 07:14:39 +02:00