Stop returning CONNACK
or DISCONNECT
to clients that sent malformed CONNECT packets.
- Only send
CONNACK
with reason code frame_too_large
for MQTT-v5.0 when connecting if the protocol version field in CONNECT can be detected.
- Otherwise DONOT send any CONNACK or DISCONNECT packet.