fix: tuic typo

This commit is contained in:
gVisor bot 2022-11-25 10:45:06 +08:00
parent 65b60a3468
commit d9157e77db
3 changed files with 3 additions and 3 deletions

View File

@ -235,7 +235,7 @@ proxies:
port: 10443 port: 10443
type: tuic type: tuic
token: TOKEN token: TOKEN
# ip: 127.0.0.1 # ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server'
# heartbeat_interval: 10000 # heartbeat_interval: 10000
# alpn: [h3] # alpn: [h3]
# disable_sni: true # disable_sni: true

View File

@ -105,7 +105,7 @@ func NewTuic(option TuicOption) (*Tuic, error) {
if len(option.CustomCA) > 0 { if len(option.CustomCA) > 0 {
bs, err = os.ReadFile(option.CustomCA) bs, err = os.ReadFile(option.CustomCA)
if err != nil { if err != nil {
return nil, fmt.Errorf("hysteria %s load ca error: %w", addr, err) return nil, fmt.Errorf("tuic %s load ca error: %w", addr, err)
} }
} else if option.CustomCAString != "" { } else if option.CustomCAString != "" {
bs = []byte(option.CustomCAString) bs = []byte(option.CustomCAString)

View File

@ -463,7 +463,7 @@ proxies:
port: 10443 port: 10443
type: tuic type: tuic
token: TOKEN token: TOKEN
# ip: 127.0.0.1 # ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server'
# heartbeat_interval: 10000 # heartbeat_interval: 10000
# alpn: [h3] # alpn: [h3]
# disable_sni: true # disable_sni: true