Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #8127
Helidon 2, 3
While in Helidon 2 and 3 following logic was used for
sessionCacheSize
andsessionTimeoutSeconds
:Resulting in an actual defaults being the unset defaults of SSLSessionContext:
void setSessionTimeout(int seconds); ---->
86400
seconds – the new session timeout limit in seconds; zero means there is no limit.
The JDK implementation returns the session timeout as set by the setSessionTimeout method, or if not set, a default value of
86400
seconds (24 hours).void setSessionCacheSize(int size); ---->
20480
size – the new session cache size limit; zero means there is no limit.
The JDK implementation returns the cache size as set by the setSessionCacheSize method, or if not set, the value of the javax.net.ssl.sessionCacheSize system property. If neither is set, it returns a default value of
20480
.Helidon 4
In Helidon 4 we are currently using:
This PR alignes the defaults with previous versions of Helidon.