Merge pull request 'fix for latest quic' (#2) from quicup into master

Reviewed-on: #2
This commit is contained in:
Василий Толстов 2023-06-10 17:26:02 +03:00
commit 363d6c71dd

View File

@ -104,10 +104,10 @@ func (c *Conn) SetWriteDeadline(t time.Time) error {
var _ net.Listener = (*Listener)(nil) var _ net.Listener = (*Listener)(nil)
type Listener struct { type Listener struct {
ql quic.Listener ql *quic.Listener
} }
func Listen(ql quic.Listener) net.Listener { func Listen(ql *quic.Listener) net.Listener {
return &Listener{ql} return &Listener{ql}
} }