Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Mar 16, 2024
1 parent 48be736 commit f286506
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 f286506

Please sign in to comment.