mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
Merge pull request #3166 from lucas-clemente/close-reason-logging
use the new error types to log the reason why a connection is closed
This commit is contained in:
commit
d97f03bc04
16 changed files with 97 additions and 309 deletions
|
@ -344,7 +344,7 @@ func (t *connTracer) StartedConnection(local, remote net.Addr, srcConnID, destCo
|
|||
|
||||
func (t *connTracer) NegotiatedVersion(chosen logging.VersionNumber, clientVersions, serverVersions []logging.VersionNumber) {
|
||||
}
|
||||
func (t *connTracer) ClosedConnection(logging.CloseReason) {}
|
||||
func (t *connTracer) ClosedConnection(error) {}
|
||||
func (t *connTracer) SentTransportParameters(*logging.TransportParameters) {}
|
||||
func (t *connTracer) ReceivedTransportParameters(*logging.TransportParameters) {}
|
||||
func (t *connTracer) RestoredTransportParameters(*logging.TransportParameters) {}
|
||||
|
|
|
@ -41,7 +41,7 @@ func (t *customConnTracer) StartedConnection(local, remote net.Addr, srcConnID,
|
|||
|
||||
func (t *customConnTracer) NegotiatedVersion(chosen logging.VersionNumber, clientVersions, serverVersions []logging.VersionNumber) {
|
||||
}
|
||||
func (t *customConnTracer) ClosedConnection(logging.CloseReason) {}
|
||||
func (t *customConnTracer) ClosedConnection(error) {}
|
||||
func (t *customConnTracer) SentTransportParameters(*logging.TransportParameters) {}
|
||||
func (t *customConnTracer) ReceivedTransportParameters(*logging.TransportParameters) {}
|
||||
func (t *customConnTracer) RestoredTransportParameters(*logging.TransportParameters) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue