Skip to content

Commit

Permalink
Merge branch '2dust:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarid authored Mar 21, 2024
2 parents 85faad1 + f286506 commit 1b24e94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,15 +606,15 @@ object AngConfigManager {
var sni: String? = ""
if (queryPairs["plugin"] == "obfs-local" && queryPairs["obfs"] == "http") {
sni = config.outboundBean?.streamSettings?.populateTransportSettings(
"tcp", "http", queryPairs["obfs-host"], queryPairs["path"], null, null, null, null, null
"tcp", "http", queryPairs["obfs-host"], queryPairs["path"], null, null, null, null, null, null
)
} else if (queryPairs["plugin"] == "v2ray-plugin") {
var network = "ws";
if (queryPairs["mode"] == "quic") {
network = "quic";
}
sni = config.outboundBean?.streamSettings?.populateTransportSettings(
network, null, queryPairs["host"], queryPairs["path"], null, null, null, null, null
network, null, queryPairs["host"], queryPairs["path"], null, null, null, null, null, null
)
}
if ("tls" in queryPairs) {
Expand Down

0 comments on commit 1b24e94

Please sign in to comment.