mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8233621: Mismatch in jsse.enableMFLNExtension property name
Reviewed-by: mullan
This commit is contained in:
parent
2ec6eecbcd
commit
12beed6ec9
1 changed files with 11 additions and 1 deletions
|
@ -696,8 +696,18 @@ enum SSLExtension implements SSLStringizer {
|
|||
}
|
||||
|
||||
// To switch off the max_fragment_length extension.
|
||||
//
|
||||
// Note that "jsse.enableMFLNExtension" is the CSR approved
|
||||
// property name. However, "jsse.enableMFLExtension" was used
|
||||
// in the original implementation. Temporarily, if either of
|
||||
// the two properties set to true, the extension is switch on.
|
||||
// We may remove the "jsse.enableMFLExtension" property in the
|
||||
// future. Please don't continue to use the misspelling property.
|
||||
enableExtension =
|
||||
Utilities.getBooleanProperty("jsse.enableMFLExtension", false);
|
||||
Utilities.getBooleanProperty(
|
||||
"jsse.enableMFLNExtension", false) ||
|
||||
Utilities.getBooleanProperty(
|
||||
"jsse.enableMFLExtension", false);
|
||||
if (!enableExtension) {
|
||||
extensions.remove(CH_MAX_FRAGMENT_LENGTH);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue