Expand description
Summarises dropped frames and duplicate segments received by a
SessionSocket.
Some frames arrive too late or have missing segments. Retried packets can also arrive twice. Simply logging every drop or duplicate can hide other problems. This module counts these events and logs an INFO summary only when frames were dropped or could not be reassembled.
A โwindowโ is the time covered by one summary. Each counted event checks whether enough time has passed to finish the window. There is no background timer, so an idle socket waits until the next event or until this report is dropped before logging its remaining counts.
Structsยง
- Frame
Loss ๐Report - Counts received frames and duplicate segments, and logs summaries when there is frame loss.
- Frame
Loss ๐Summary - Counts collected during one reporting period.
Constantsยง
- FRAME_
LOSS_ ๐REPORT_ INTERVAL - Minimum time between summaries, except for the final summary when the report is dropped.