trace congestion state changes

This commit is contained in:
Marten Seemann
2020-07-22 14:59:32 +07:00
parent 741dc28d74
commit 0b7efe10d1
12 changed files with 99 additions and 24 deletions

View File

@@ -316,6 +316,8 @@ func (t *connectionTracer) LostPacket(encLevel protocol.EncryptionLevel, pn prot
t.mutex.Unlock()
}
func (t *connectionTracer) UpdatedCongestionState(logging.CongestionState) {}
func (t *connectionTracer) UpdatedPTOCount(value uint32) {
t.mutex.Lock()
t.recordEvent(time.Now(), &eventUpdatedPTO{Value: value})