mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use the new error types to log the reason why a connection is closed
This commit is contained in:
parent
5f2cf0422e
commit
1613809ba2
16 changed files with 87 additions and 307 deletions
|
@ -106,7 +106,7 @@ type Tracer interface {
|
|||
type ConnectionTracer interface {
|
||||
StartedConnection(local, remote net.Addr, srcConnID, destConnID ConnectionID)
|
||||
NegotiatedVersion(chosen VersionNumber, clientVersions, serverVersions []VersionNumber)
|
||||
ClosedConnection(CloseReason)
|
||||
ClosedConnection(error)
|
||||
SentTransportParameters(*TransportParameters)
|
||||
ReceivedTransportParameters(*TransportParameters)
|
||||
RestoredTransportParameters(parameters *TransportParameters) // for 0-RTT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue