convert Connection interface to Conn struct (#5195)

This commit is contained in:
Marten Seemann
2025-06-09 17:51:46 +08:00
committed by GitHub
parent eb08018a5c
commit 5f3d617dec
43 changed files with 666 additions and 1551 deletions

View File

@@ -420,7 +420,7 @@ func testFaultyPacketConn(t *testing.T, pers protocol.Perspective) {
return err
}
runClient := func(conn quic.Connection) error {
runClient := func(conn *quic.Conn) error {
str, err := conn.AcceptUniStream(context.Background())
if err != nil {
return err