mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
proxy: optimize NewConn, avoid loop
This commit is contained in:
1 parent
40ddd1be3a
commit
6fff126e4b
6 files changed
+14
-13
No files matched your search
@@ -54,9 +54,9 @@ func NewVLess(s string, d proxy.Dialer, p proxy.Proxy) (*VLess, error) {
|
||||
proxy: p,
|
||||
addr: addr,
|
||||
uuid: uuid,
|
||||
// fallback: "127.0.0.1:80",
|
||||
}
|
||||
|
||||
// v.fallback = "127.0.0.1:80"
|
||||
if custom := u.Query().Get("fallback"); custom != "" {
|
||||
v.fallback = custom
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user