This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARTEMIS-3764 wrong CONNACK return code for MQTT5
This bug is causing tests in o.a.a.a.t.i.m.s.c.ConnectTestsWithSecurity to fail. This commit fixes the problem by setting the session's version earlier in the logic handling the CONNECT packet so that the proper CONNACK return code can be supplied to the remote client in case of authentication failure.
- Loading branch information
Showing 2 changed files with 5 additions and 7 deletions.