mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
trace dropped packets in the server
This commit is contained in:
parent
0d4aa4b34f
commit
dc245ca6a3
9 changed files with 106 additions and 30 deletions
|
@ -84,6 +84,8 @@ type Tracer interface {
|
|||
// The destination connection ID that the client used on the first Initial packet it sent on this connection.
|
||||
// If nil is returned, tracing will be disabled for this connection.
|
||||
TracerForConnection(p Perspective, odcid ConnectionID) ConnectionTracer
|
||||
|
||||
DroppedPacket(net.Addr, PacketType, ByteCount, PacketDropReason)
|
||||
}
|
||||
|
||||
// A ConnectionTracer records events.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue