mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-03 12:19:49 +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 {
|
} else {
|
||||||
conn = tls.Client(pconn, tlsConfig)
|
conn = tls.Client(pconn, tlsConfig)
|
||||||
}
|
}
|
||||||
|
|
||||||
requestURL.Scheme = "https"
|
requestURL.Scheme = "https"
|
||||||
} else {
|
} else {
|
||||||
|
conn = pconn
|
||||||
requestURL.Scheme = "http"
|
requestURL.Scheme = "http"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user