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