Add SNI shunt support for VLESS (#141)

这个提交存在于:
eMeab 2021-01-13 23:13:51 +08:00 提交者 GitHub
父节点 11a851f957
当前提交 d85162ea44
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 4 个文件被更改,包括 77 次插入42 次删除

查看文件

@ -18,6 +18,7 @@ import (
)
type VLessInboundFallback struct {
Name string `json:"name"`
Alpn string `json:"alpn"`
Path string `json:"path"`
Type string `json:"type"`
@ -85,6 +86,7 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) {
_ = json.Unmarshal(fb.Dest, &s)
}
config.Fallbacks = append(config.Fallbacks, &inbound.Fallback{
Name: fb.Name,
Alpn: fb.Alpn,
Path: fb.Path,
Type: fb.Type,