forked from quic-go/quic-go
remove the host parameter from all dial functions
This commit is contained in:
@@ -36,7 +36,7 @@ func BenchmarkHandshake(b *testing.B) {
|
||||
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
c, err := quic.Dial(conn, ln.Addr(), "localhost", tlsClientConfig, nil)
|
||||
c, err := quic.Dial(conn, ln.Addr(), tlsClientConfig, nil)
|
||||
if err != nil {
|
||||
b.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user