forked from quic-go/quic-go
Merge pull request #2613 from lucas-clemente/log-send-packet-last
log sent packets right before sending them out
This commit is contained in:
@@ -1508,9 +1508,9 @@ func (s *session) sendPackedPacket(packet *packedPacket) {
|
||||
if s.firstAckElicitingPacketAfterIdleSentTime.IsZero() && packet.IsAckEliciting() {
|
||||
s.firstAckElicitingPacketAfterIdleSentTime = now
|
||||
}
|
||||
s.logPacket(now, packet)
|
||||
s.sentPacketHandler.SentPacket(packet.ToAckHandlerPacket(time.Now(), s.retransmissionQueue))
|
||||
s.connIDManager.SentPacket()
|
||||
s.logPacket(now, packet)
|
||||
s.sendQueue.Send(packet.buffer)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user