mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 11:29:36 +03:00
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user