RPRX 2024-03-12 11:58:29 +00:00 committed by GitHub
parent 950a64e9a4
commit d3a218f896
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
} }