mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 03:25:33 +00:00
AMQ-8183 - apply maxFrameSize high cpu usage fix to Auto nio transport
also (cherry picked from commit 2712464b78f76affd34cc0b097a2248f211ea0c7)
This commit is contained in:
parent
51a4014c54
commit
0a099af4c4
@ -170,6 +170,11 @@ public class AutoInitNioSSLTransport extends NIOSSLTransport {
|
||||
plain.position(plain.limit());
|
||||
|
||||
while (true) {
|
||||
//If the transport was already stopped then break
|
||||
if (this.isStopped()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!plain.hasRemaining()) {
|
||||
int readCount = secureRead(plain);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user