Don't use QUIC as it's unstable.
This commit is contained in:
parent
2fe47dd911
commit
f844b7a793
1 changed files with 2 additions and 5 deletions
7
main.go
7
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue