mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
This commit is contained in:
parent
950a64e9a4
commit
d3a218f896
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue