Skip to content

Commit

Permalink
Backport f6e7713bb653811423eeb2515c2f69b437750326
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Feb 24, 2025
1 parent d02ad34 commit 0c585bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/jdk/javax/net/ssl/SSLSocket/Tls13PacketSize.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ protected void runServerApplication(SSLSocket socket) throws Exception {

sslOS.write(appData);
sslOS.flush();
int drained = 1;
while (drained < appData.length) {
drained += sslIS.read(appData, drained, appData.length - drained);
}
}

/*
Expand Down

0 comments on commit 0c585bb

Please sign in to comment.