forked from quic-go/quic-go
http3: improve the client API (#4693)
* http3: rename RoundTripper to Transport * http3: rename SingleDestinationRoundTripper to ClientConn * http3: construct the ClientConn via Transport.NewClientConn
This commit is contained in:
@@ -67,7 +67,7 @@ func runTestcase(testcase string) error {
|
||||
quicConf := &quic.Config{Tracer: utils.NewQLOGConnectionTracer}
|
||||
|
||||
if testcase == "http3" {
|
||||
r := &http3.RoundTripper{
|
||||
r := &http3.Transport{
|
||||
TLSClientConfig: tlsConf,
|
||||
QUICConfig: quicConf,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user