From e2628386506ff0dc2c7291b59f33c0e72b00d920 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sat, 3 Apr 2021 08:44:44 +0700 Subject: [PATCH] update quic-go to v0.20.1 --- p2p/transport/quic/tracer_metrics.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/p2p/transport/quic/tracer_metrics.go b/p2p/transport/quic/tracer_metrics.go index 773dfe907..1eab55da7 100644 --- a/p2p/transport/quic/tracer_metrics.go +++ b/p2p/transport/quic/tracer_metrics.go @@ -212,7 +212,7 @@ func (m *metricsConnTracer) getEncLevel(packetType logging.PacketType) string { } } -func (m *metricsConnTracer) StartedConnection(net.Addr, net.Addr, logging.VersionNumber, logging.ConnectionID, logging.ConnectionID) { +func (m *metricsConnTracer) StartedConnection(net.Addr, net.Addr, logging.ConnectionID, logging.ConnectionID) { m.startTime = time.Now() collector.AddConn(m.connID.String(), m) } @@ -313,6 +313,8 @@ func (m *metricsConnTracer) UpdatedMetrics(rttStats *logging.RTTStats, cwnd, byt m.mutex.Unlock() } +func (m *metricsConnTracer) AcknowledgedPacket(logging.EncryptionLevel, logging.PacketNumber) {} + func (m *metricsConnTracer) LostPacket(level logging.EncryptionLevel, _ logging.PacketNumber, r logging.PacketLossReason) { var reason string switch r {