On Thu, 17 Oct 2024 17:19:36 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

>> Yes, we have tests for both `SSLEngine` and `SSLSocket` usages. In case of 
>> SSLEngine the data is passed downstream in `srcs` array.
>
> It looks like SSLEngine does not use the cached record?  I did not get the 
> point to have two different logic for SSLEngine and SSLSocket.

Yes, `SSLEngineInputRecord` gets the data from upstream, no need to cache it. 
We have access to that data right here at `SSLTransport`

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

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

Reply via email to