mirror of https://github.com/apache/activemq.git
AMQ-8183 - apply maxFrameSize high cpu usage fix to Auto nio transport
also
This commit is contained in:
parent
944ca6c7e1
commit
2712464b78
|
@ -170,6 +170,11 @@ public class AutoInitNioSSLTransport extends NIOSSLTransport {
|
||||||
plain.position(plain.limit());
|
plain.position(plain.limit());
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
//If the transport was already stopped then break
|
||||||
|
if (this.isStopped()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!plain.hasRemaining()) {
|
if (!plain.hasRemaining()) {
|
||||||
int readCount = secureRead(plain);
|
int readCount = secureRead(plain);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue