lucastetreault opened a new pull request #617: URL: https://github.com/apache/activemq/pull/617
According to the [SSLEngine docs](https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLEngine.html) "two threads must not attempt to call the same method (either wrap() or unwrap()) concurrently, because there is no way to guarantee the eventual packet ordering". serviceRead(), the loop that calls unwrap(), was called in doInit() as well in initializeStreams() which intermittently leads to errors such as **javax.crypto.AEADBadTagException: Input too short - need tag** as described in the [associated Jira](https://issues.apache.org/jira/browse/AMQ-8169) as the two threads compete to unwrap network traffic. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
