forked from quic-go/quic-go
add a logging event for dropping 1-RTT keys
This commit is contained in:
@@ -213,6 +213,12 @@ var _ = Describe("Tracing", func() {
|
||||
tracer.DroppedEncryptionLevel(EncryptionHandshake)
|
||||
})
|
||||
|
||||
It("traces the DroppedKey event", func() {
|
||||
tr1.EXPECT().DroppedKey(KeyPhase(123))
|
||||
tr2.EXPECT().DroppedKey(KeyPhase(123))
|
||||
tracer.DroppedKey(123)
|
||||
})
|
||||
|
||||
It("traces the SetLossTimer event", func() {
|
||||
now := time.Now()
|
||||
tr1.EXPECT().SetLossTimer(TimerTypePTO, EncryptionHandshake, now)
|
||||
|
||||
Reference in New Issue
Block a user