mirror of
https://github.com/bestnite/sub2clash.git
synced 2026-01-18 06:17:24 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
2d863752b1
|
@@ -83,7 +83,7 @@ func (p *SocksParser) Parse(config ParseConfig, proxy string) (P.Proxy, error) {
|
||||
UserName: username,
|
||||
Password: password,
|
||||
TLS: tls == "true",
|
||||
UDP: udp == "true",
|
||||
UDP: udp == "true" || config.UseUDP,
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ func (p *TrojanParser) Parse(config ParseConfig, proxy string) (P.Proxy, error)
|
||||
Port: P.IntOrString(port),
|
||||
Password: password,
|
||||
Network: network,
|
||||
UDP: udp == "true",
|
||||
UDP: udp == "true" || config.UseUDP,
|
||||
SkipCertVerify: insecureBool,
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ func (p *VlessParser) Parse(config ParseConfig, proxy string) (P.Proxy, error) {
|
||||
Port: P.IntOrString(port),
|
||||
UUID: uuid,
|
||||
Flow: flow,
|
||||
UDP: udp == "true",
|
||||
UDP: udp == "true" || config.UseUDP,
|
||||
SkipCertVerify: insecureBool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user