On Fri, 11 Oct 2024 18:36:50 GMT, Artur Barashev <abaras...@openjdk.org> wrote:

>> Check for unexpected plaintext alert message during TLSv1.3 handshake. This 
>> can happen if client doesn't receive ServerHello due to network timeout and 
>> tries to close the connection by sending an alert message.
>
> Artur Barashev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust line length

src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java line 266:

> 264:         recordBody.flip();
> 265:         // Record is ready to be decoded, save it.
> 266:         saveLastDecodeRecord();

It might be heavy to cache last decode record for every input record.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21043#discussion_r1804073595

Reply via email to