Don't use QUIC as it's unstable.

This commit is contained in:
FireMasterK 2020-10-25 15:57:05 +00:00 committed by GitHub
parent 2fe47dd911
commit f844b7a793

View file

@ -58,11 +58,8 @@ func genericHTTPProxy(w http.ResponseWriter, req *http.Request) {
var client *http.Client var client *http.Client
if strings.HasPrefix(req.URL.Path, "/videoplayback") { // https://github.com/lucas-clemente/quic-go/issues/2836 // https://github.com/lucas-clemente/quic-go/issues/2836
client = h2client client = h2client
} else {
client = h3client
}
resp, err := client.Do(request) resp, err := client.Do(request)