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

also

(cherry picked from commit 2712464b78f76affd34cc0b097a2248f211ea0c7)
This commit is contained in:
Christopher L. Shannon (cshannon) 2021-03-11 11:13:35 -05:00
parent 51a4014c54
commit 0a099af4c4

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