Skip to content
Permalink
Browse files
Automatic merge of jdk:master into master
  • Loading branch information
duke committed Mar 25, 2021
2 parents be18da3 + a678a38 commit cbf62bb6a34784c033a20ecc4fa5f91332c7ded0
Showing 1 changed file with 1 addition and 7 deletions.
@@ -1469,13 +1469,7 @@ private ByteBuffer readApplicationRecord(
}

try {
Plaintext plainText;
socketLock.lock();
try {
plainText = decode(buffer);
} finally {
socketLock.unlock();
}
Plaintext plainText = decode(buffer);
if (plainText.contentType == ContentType.APPLICATION_DATA.id &&
buffer.position() > 0) {
return buffer;

0 comments on commit cbf62bb

Please sign in to comment.