mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-12 18:13:03 +00:00
This commit is contained in:
parent
950a64e9a4
commit
d3a218f896
@ -36,9 +36,9 @@ func dialhttpUpgrade(ctx context.Context, dest net.Destination, streamSettings *
|
||||
} else {
|
||||
conn = tls.Client(pconn, tlsConfig)
|
||||
}
|
||||
|
||||
requestURL.Scheme = "https"
|
||||
} else {
|
||||
conn = pconn
|
||||
requestURL.Scheme = "http"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user