fix for latest quic
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
b127beb633
commit
5d4bfbb1c5
@ -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}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user