Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-05-24 11:17:20 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-24 11:17:20 +0300
commita2f6d3b8dcc7bb830f45146d2c386aea19b3b4fc (patch)
tree95d1b1fc7f8aa7901aa6dd4374d5daaf44015ca8 /web/assets
parent80cd7931544443f2e423183227ef95741c6f0254 (diff)
new - (TLS) Session Resumption
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/xray.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 73dcdb27..70f4f668 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -556,6 +556,7 @@ class TlsStreamSettings extends XrayCommonClass {
cipherSuites = '',
rejectUnknownSni = false,
disableSystemRoot = false,
+ enableSessionResumption = false,
certificates=[new TlsStreamSettings.Cert()],
alpn=[ALPN_OPTION.H2,ALPN_OPTION.HTTP1],
settings=new TlsStreamSettings.Settings()) {
@@ -566,6 +567,7 @@ class TlsStreamSettings extends XrayCommonClass {
this.cipherSuites = cipherSuites;
this.rejectUnknownSni = rejectUnknownSni;
this.disableSystemRoot = disableSystemRoot;
+ this.enableSessionResumption = enableSessionResumption;
this.certs = certificates;
this.alpn = alpn;
this.settings = settings;
@@ -596,6 +598,7 @@ class TlsStreamSettings extends XrayCommonClass {
json.cipherSuites,
json.rejectUnknownSni,
json.disableSystemRoot,
+ json.enableSessionResumption,
certs,
json.alpn,
settings,
@@ -610,6 +613,7 @@ class TlsStreamSettings extends XrayCommonClass {
cipherSuites: this.cipherSuites,
rejectUnknownSni: this.rejectUnknownSni,
disableSystemRoot: this.disableSystemRoot,
+ enableSessionResumption: this.enableSessionResumption,
certificates: TlsStreamSettings.toJsonArray(this.certs),
alpn: this.alpn,
settings: this.settings,