forked from quic-go/quic-go
identify connections by their local addr when adding to the multiplexer
This commit is contained in:
@@ -25,6 +25,7 @@ type mockPacketConn struct {
|
||||
|
||||
func newMockPacketConn() *mockPacketConn {
|
||||
return &mockPacketConn{
|
||||
addr: &net.UDPAddr{IP: net.IPv6zero, Port: 0x42},
|
||||
dataToRead: make(chan []byte, 1000),
|
||||
dataWritten: make(chan mockPacketConnWrite, 1000),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user