Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #12284 - Excessive heap consumption by SSLSessionImpl by Jetty Server with TLS 1.3 and long-lived client. #12288

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Sep 18, 2024

Now SslSessionData is stored as a field, rather than in the SSLSession as an attribute. This implies a little more cost to create the SslSessionData per connection rather than per SSLSession, but it should be negligible.

Now SslSessionData cannot be retrieved as a SSLSession attribute, but we have explicit APIs to retrieve it, so it should not be a problem.

…Server with TLS 1.3 and long-lived client.

Now `SslSessionData` is stored as a field, rather than in the `SSLSession` as an attribute.
This implies a little more cost to create the `SslSessionData` per connection rather than per `SSLSession`, but it should be negligible.

Now `SslSessionData` cannot be retrieved as a `SSLSession` attribute, but we have explicit APIs to retrieve it, so it should not be a problem.

Signed-off-by: Simone Bordet <[email protected]>
@joakime joakime changed the title Fixed #12284 - Excessive heap consumption by SSLSessionImpl by Jetty … Fixed #12284 - Excessive heap consumption by SSLSessionImpl by Jetty Server with TLS 1.3 and long-lived client. Sep 18, 2024
@sbordet sbordet merged commit 9c34263 into jetty-12.0.x Sep 20, 2024
12 checks passed
@sbordet sbordet deleted the fix/jetty-12.0.x/12284/sslsession-leak branch September 20, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Excessive heap consumption by SSLSessionImpl by Jetty Server with TLS 1.3 and long-lived client
2 participants