From f844b7a7930119583e59eaacb0bcff5978773621 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 25 Oct 2020 15:57:05 +0000 Subject: [PATCH] Don't use QUIC as it's unstable. --- main.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 6659ed4..2ee0f9b 100644 --- a/main.go +++ b/main.go @@ -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)