mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
fixes #470
This commit is contained in:
parent
126f23d704
commit
158903e43c
@ -257,7 +257,7 @@ namespace NekoRay::sub {
|
||||
}
|
||||
} else if (type == "socks" || type == "http") {
|
||||
auto bean = ent->SocksHTTPBean();
|
||||
bean->password = Node2QString(proxy["username"]);
|
||||
bean->username = Node2QString(proxy["username"]);
|
||||
bean->password = Node2QString(proxy["password"]);
|
||||
if (Node2Bool(proxy["tls"])) bean->stream->security = "tls";
|
||||
if (Node2Bool(proxy["skip-cert-verify"])) bean->stream->allow_insecure = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user