Skip to content

Conversation

@marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Jun 25, 2025

One - rather ugly - option of resolving #5240.

// If Dial is nil, a UDPConn will be created at the first request
// and will be reused for subsequent connections to other servers.
Dial func(ctx context.Context, addr string, tlsCfg *tls.Config, cfg *quic.Config) (*quic.Conn, error)
Dial func(ctx context.Context, addr string, tlsCfg *tls.Config, cfg *quic.Config) (QUICConn, error)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is super ugly. It's now not possible anymore to use quic.Dial: the user has to manually wrap the returned quic.Conn.

@codecov
Copy link

codecov bot commented Jun 25, 2025

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
1614 4 1610 3
View the top 3 failed test(s) by shortest run time
github.com/quic-go/quic-go/http3::
Stack Traces | 0s run time
Build error
github.com/quic-go/quic-go/http3::Failure
Stack Traces | 0s run time
Runtime error
github.com/quic-go/quic-go/integrationtests/self_test::[build failed]
Stack Traces | 0s run time
Build error

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants