This commit is contained in:
parent
248d076f47
commit
a03d265259
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
@ -25,7 +25,6 @@ import (
|
|||
"github.com/prometheus/procfs"
|
||||
"github.com/quic-go/quic-go"
|
||||
"github.com/quic-go/quic-go/http3"
|
||||
"golang.org/x/net/http2"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -79,7 +78,7 @@ var h2client = &http.Client{
|
|||
var h2client_test = &http.Client{
|
||||
// Yeah I know I can just use http.Transport and it will use HTTP/2 automatically
|
||||
// I prefer to set it up explicitly
|
||||
Transport: &http2.Transport{},
|
||||
Transport: &http.Transport{},
|
||||
}
|
||||
|
||||
var client *http.Client
|
||||
|
|
Loading…
Add table
Reference in a new issue