From 4915cc0da6d89823972245fbb65dc47f7270b256 Mon Sep 17 00:00:00 2001 From: JimMoen Date: Thu, 1 Aug 2024 15:23:35 +0800 Subject: [PATCH] chore: add changelog entry for 13357 --- changes/ce/fix-13357.en.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/ce/fix-13357.en.md diff --git a/changes/ce/fix-13357.en.md b/changes/ce/fix-13357.en.md new file mode 100644 index 000000000..ea497a847 --- /dev/null +++ b/changes/ce/fix-13357.en.md @@ -0,0 +1,4 @@ +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.