ldauvilaire commented on PR #5207:
URL: 
https://github.com/apache/activemq-artemis/pull/5207#issuecomment-2333971090

   The method "processAddConnection()" is handling the processing of the 
ConnectionInfo Command.
   In case of exception into the processing of "protocolManager.validateUser()" 
(due to SecurityException for example), a ExceptionResponse is provided but 
"protocolManager.addConnection()" is not called and then context is not 
initialized and then the state is not computed.
   The ExceptionResponse generated in case of a ConnectionInfo Command then 
generates a call to "delayedStop(2000, cause.getMessage(), cause)".
   During that time (2000ms), the connection can still receive and handle other 
commands, but as the state is not build, the commands may also fail.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to