Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1429] A failed CONNACK should be sent, when a CONNECT packet exceed the max packet size #170

Conversation

tgracchus
Copy link
Contributor

@tgracchus tgracchus commented Oct 25, 2023

Motivation
EXPECTED BEHAVIOR
A mqtt5 client get a negative connack with code 149; The CONNECT packet exceeded the maximum permissible size.

ACTUAL BEHAVIOR
Currently if a CONNECT packet exceeds the configured max packet size we just close the connection.

This PR fixes the issue and makes hivemq behaves as expected

Resolves
https://hivemq.kanbanize.com/ctrl_board/42/cards/17281/details/

*Changes

PR
master #170

@tgracchus tgracchus changed the title Bucket [1429] A failed CONNACK should be sent, when a CONNECT packet exceed the max packet size Oct 25, 2023
@tgracchus tgracchus marked this pull request as ready for review October 26, 2023 08:27
@tgracchus tgracchus marked this pull request as draft October 26, 2023 12:08
@tgracchus tgracchus marked this pull request as ready for review October 27, 2023 11:25
@DC2-DanielKrueger DC2-DanielKrueger force-pushed the bugfix/1429-connack-when-connect-exceed-packet-size/latest branch from ac3eb47 to c7eb93e Compare November 7, 2023 07:32
@DC2-DanielKrueger DC2-DanielKrueger force-pushed the bugfix/1429-connack-when-connect-exceed-packet-size/latest branch from c7eb93e to 08e9402 Compare November 8, 2023 09:36
@DC2-DanielKrueger DC2-DanielKrueger force-pushed the bugfix/1429-connack-when-connect-exceed-packet-size/latest branch from 08e9402 to ad519f1 Compare November 8, 2023 16:43
@DC2-DanielKrueger DC2-DanielKrueger merged commit f44b46b into master Nov 9, 2023
1 check passed
@DC2-DanielKrueger DC2-DanielKrueger deleted the bugfix/1429-connack-when-connect-exceed-packet-size/latest branch November 9, 2023 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants