mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8359978: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed again with java.net.SocketException: An established connection was aborted by the software in your host machine
Reviewed-by: jnimeh, djelinski
This commit is contained in:
parent
78f1c449da
commit
3cbcda5ff3
@ -107,5 +107,10 @@ public class Tls13PacketSize extends SSLSocketTemplate {
|
||||
throw new Exception(
|
||||
"Server record plaintext exceeds 2^14 octets: " + extra);
|
||||
}
|
||||
|
||||
int drained = 1;
|
||||
while (drained < appData.length) {
|
||||
drained += sslIS.read(appData, drained, appData.length - drained);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user