mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 13:56:30 +03:00
Fix build issues from QUIC dependency update
This commit is contained in:
@@ -20,8 +20,8 @@ type linkQUIC struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type linkQUICStream struct {
|
type linkQUICStream struct {
|
||||||
quic.Connection
|
*quic.Conn
|
||||||
quic.Stream
|
*quic.Stream
|
||||||
}
|
}
|
||||||
|
|
||||||
type linkQUICListener struct {
|
type linkQUICListener struct {
|
||||||
@@ -66,7 +66,7 @@ func (l *linkQUIC) dial(ctx context.Context, url *url.URL, info linkInfo, option
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &linkQUICStream{
|
return &linkQUICStream{
|
||||||
Connection: qc,
|
Conn: qc,
|
||||||
Stream: qs,
|
Stream: qs,
|
||||||
}, nil
|
}, nil
|
||||||
})
|
})
|
||||||
@@ -98,7 +98,7 @@ func (l *linkQUIC) listen(ctx context.Context, url *url.URL, _ string) (net.List
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ch <- &linkQUICStream{
|
ch <- &linkQUICStream{
|
||||||
Connection: qc,
|
Conn: qc,
|
||||||
Stream: qs,
|
Stream: qs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user