forked from quic-go/quic-go
convert Connection interface to Conn struct (#5195)
This commit is contained in:
@@ -312,7 +312,7 @@ func addDialCallback(t *testing.T, tr *http3.Transport) {
|
||||
}
|
||||
|
||||
require.Nil(t, tr.Dial)
|
||||
tr.Dial = func(ctx context.Context, addr string, tlsConf *tls.Config, conf *quic.Config) (quic.EarlyConnection, error) {
|
||||
tr.Dial = func(ctx context.Context, addr string, tlsConf *tls.Config, conf *quic.Config) (*quic.Conn, error) {
|
||||
a, err := net.ResolveUDPAddr("udp", addr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user