forked from quic-go/quic-go
rename the h2quic.QuicRoundTripper to h2quic.RoundTripper
This commit is contained in:
@@ -27,7 +27,7 @@ var _ = Describe("Client tests", func() {
|
||||
Fail("quic.clemente.io does not resolve to 127.0.0.1. Consider adding it to /etc/hosts.")
|
||||
}
|
||||
client = &http.Client{
|
||||
Transport: &h2quic.QuicRoundTripper{},
|
||||
Transport: &h2quic.RoundTripper{},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ var _ = Describe("Server tests", func() {
|
||||
certPool := x509.NewCertPool()
|
||||
certPool.AddCert(CACert)
|
||||
client = &http.Client{
|
||||
Transport: &h2quic.QuicRoundTripper{
|
||||
Transport: &h2quic.RoundTripper{
|
||||
TLSClientConfig: &tls.Config{RootCAs: certPool},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user