add a logging event for dropping 1-RTT keys

This commit is contained in:
Marten Seemann 2020-09-09 14:55:46 +07:00
parent 9e1d65f4c9
commit dbaacd49bd
9 changed files with 77 additions and 1 deletions

View file

@ -162,6 +162,12 @@ func (m *connTracerMultiplexer) DroppedEncryptionLevel(encLevel EncryptionLevel)
}
}
func (m *connTracerMultiplexer) DroppedKey(generation KeyPhase) {
for _, t := range m.tracers {
t.DroppedKey(generation)
}
}
func (m *connTracerMultiplexer) SetLossTimer(typ TimerType, encLevel EncryptionLevel, exp time.Time) {
for _, t := range m.tracers {
t.SetLossTimer(typ, encLevel, exp)