add tracing for lost packets

This commit is contained in:
Marten Seemann 2019-04-05 12:28:29 +09:00
parent 22cbb344af
commit 7c7b1ba9c7
3 changed files with 30 additions and 8 deletions

View file

@ -48,7 +48,7 @@ var _ = Describe("SentPacketHandler", func() {
BeforeEach(func() {
rttStats := &congestion.RTTStats{}
handler = NewSentPacketHandler(42, rttStats, utils.DefaultLogger).(*sentPacketHandler)
handler = NewSentPacketHandler(42, rttStats, nil, utils.DefaultLogger).(*sentPacketHandler)
streamFrame = wire.StreamFrame{
StreamID: 5,
Data: []byte{0x13, 0x37},