forked from quic-go/quic-go
fix missing tracing of restored transport parameters (#5349)
This commit is contained in:
@@ -2054,6 +2054,9 @@ func (c *Conn) restoreTransportParameters(params *wire.TransportParameters) {
|
|||||||
if c.logger.Debug() {
|
if c.logger.Debug() {
|
||||||
c.logger.Debugf("Restoring Transport Parameters: %s", params)
|
c.logger.Debugf("Restoring Transport Parameters: %s", params)
|
||||||
}
|
}
|
||||||
|
if c.tracer != nil && c.tracer.RestoredTransportParameters != nil {
|
||||||
|
c.tracer.RestoredTransportParameters(params)
|
||||||
|
}
|
||||||
|
|
||||||
c.peerParams = params
|
c.peerParams = params
|
||||||
c.connIDGenerator.SetMaxActiveConnIDs(params.ActiveConnectionIDLimit)
|
c.connIDGenerator.SetMaxActiveConnIDs(params.ActiveConnectionIDLimit)
|
||||||
|
|||||||
Reference in New Issue
Block a user