镜像自地址
https://github.com/XTLS/Xray-core.git
已同步 2025-07-11 04:24:15 +00:00
CertificateObject: Enable auto-reload for cacert & Add buildChain & Fixes (#3607)
这个提交存在于:
父节点
a342db3e28
当前提交
4531a7e228
共有 5 个文件被更改,包括 163 次插入 和 125 次删除
|
@ -385,6 +385,7 @@ type TLSCertConfig struct {
|
|||
Usage string `json:"usage"`
|
||||
OcspStapling uint64 `json:"ocspStapling"`
|
||||
OneTimeLoading bool `json:"oneTimeLoading"`
|
||||
BuildChain bool `json:"buildChain"`
|
||||
}
|
||||
|
||||
// Build implements Buildable.
|
||||
|
@ -423,6 +424,7 @@ func (c *TLSCertConfig) Build() (*tls.Certificate, error) {
|
|||
certificate.OneTimeLoading = c.OneTimeLoading
|
||||
}
|
||||
certificate.OcspStapling = c.OcspStapling
|
||||
certificate.BuildChain = c.BuildChain
|
||||
|
||||
return certificate, nil
|
||||
}
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用