From 9fc03bd10af6496581aded12ccab28394a4a9275 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Fri, 8 Aug 2025 18:55:52 +0200 Subject: [PATCH] remove ocspStapling --- web/assets/js/model/inbound.js | 6 ------ web/html/form/tls_settings.html | 3 --- 2 files changed, 9 deletions(-) diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 6d2a77a4..aebf321a 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -641,7 +641,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { keyFile = '', certificate = '', key = '', - ocspStapling = 0, oneTimeLoading = false, usage = USAGE_OPTION.ENCIPHERMENT, buildChain = false, @@ -652,7 +651,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { this.keyFile = keyFile; this.cert = Array.isArray(certificate) ? certificate.join('\n') : certificate; this.key = Array.isArray(key) ? key.join('\n') : key; - this.ocspStapling = ocspStapling; this.oneTimeLoading = oneTimeLoading; this.usage = usage; this.buildChain = buildChain @@ -664,7 +662,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { true, json.certificateFile, json.keyFile, '', '', - json.ocspStapling, json.oneTimeLoading, json.usage, json.buildChain, @@ -674,7 +671,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { false, '', '', json.certificate.join('\n'), json.key.join('\n'), - json.ocspStapling, json.oneTimeLoading, json.usage, json.buildChain, @@ -687,7 +683,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { return { certificateFile: this.certFile, keyFile: this.keyFile, - ocspStapling: this.ocspStapling, oneTimeLoading: this.oneTimeLoading, usage: this.usage, buildChain: this.buildChain, @@ -696,7 +691,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { return { certificate: this.cert.split('\n'), key: this.key.split('\n'), - ocspStapling: this.ocspStapling, oneTimeLoading: this.oneTimeLoading, usage: this.usage, buildChain: this.buildChain, diff --git a/web/html/form/tls_settings.html b/web/html/form/tls_settings.html index 3e61b5a2..3a1802a3 100644 --- a/web/html/form/tls_settings.html +++ b/web/html/form/tls_settings.html @@ -91,9 +91,6 @@ - - -