remove the host parameter from all dial functions

This commit is contained in:
Marten Seemann
2023-04-01 18:40:26 +09:00
parent ea721c9c75
commit d683b841c4
14 changed files with 43 additions and 237 deletions

View File

@@ -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)
}