Use Go 1.21 in CI, update minimum version to Go 1.20, lint fixes, update quic-go

This commit is contained in:
Neil Alexander 2023-08-12 18:12:58 +01:00
parent fe14981dda
commit 5b203ad8c5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
13 changed files with 59 additions and 58 deletions

View file

@ -32,12 +32,12 @@ func (l *links) newLinkUNIX() *linkUNIX {
return lt
}
func (l *linkUNIX) dial(url *url.URL, info linkInfo, options linkOptions) (net.Conn, error) {
func (l *linkUNIX) dial(ctx context.Context, url *url.URL, info linkInfo, options linkOptions) (net.Conn, error) {
addr, err := net.ResolveUnixAddr("unix", url.Path)
if err != nil {
return nil, err
}
return l.dialer.DialContext(l.core.ctx, "unix", addr.String())
return l.dialer.DialContext(ctx, "unix", addr.String())
}
func (l *linkUNIX) listen(ctx context.Context, url *url.URL, _ string) (net.Listener, error) {