]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mqtt: connack parser uses wrong bit for SUBSCRIPTION_IDENTIFIERS_AVAILABLE
authorWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 13:36:08 +0000 (15:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 14:04:19 +0000 (16:04 +0200)
commite2ab156fa297f59bdde5b06c031b0f564b198973
tree2220860ca61b6c3311b19b9c508bd9f76d159da2
parent57878f3b5cf9048e844282e757972e9896180fa4
BUG/MINOR: mqtt: connack parser uses wrong bit for SUBSCRIPTION_IDENTIFIERS_AVAILABLE

In mqtt_parse_connack(), the MQTT_PROP_SUBSCRIPTION_IDENTIFIERS_AVAILABLE
case was checking and setting MQTT_FN_BIT_SUBSCRIPTION_IDENTIFIER instead
of MQTT_FN_BIT_SUBSCRIPTION_IDENTIFIERS_AVAILABLE, due to a copy-paste
mistake. This can be backported where needed.
src/mqtt.c