AMQ-8183 - apply maxFrameSize high cpu usage fix to Auto nio transport

also
This commit is contained in:
Christopher L. Shannon (cshannon) 2021-03-11 11:13:35 -05:00
parent 944ca6c7e1
commit 2712464b78
1 changed files with 5 additions and 0 deletions

View File

@ -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);