mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-03 15:59:53 +00:00
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.