Skip to content

Commit

Permalink
Merge pull request #201 from libp2p/update-quic-go
Browse files Browse the repository at this point in the history
update quic-go to v0.20.1
  • Loading branch information
Stebalien authored Apr 5, 2021
2 parents 3d8dde6 + e262838 commit c69ab03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion p2p/transport/quic/tracer_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c69ab03

Please sign in to comment.