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
1 changed files with 2 additions and 5 deletions

View File

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