add bytes-in-flight calculation to SentPacketHandler

This commit is contained in:
Lucas Clemente
2016-04-28 22:28:42 +02:00
parent 34b2e5129c
commit 1535663fc5
5 changed files with 103 additions and 27 deletions

View File

@@ -283,6 +283,7 @@ func (s *Session) sendPacket() error {
PacketNumber: packet.number,
Frames: packet.frames,
EntropyBit: packet.entropyBit,
Length: uint64(len(packet.raw)),
})
if err != nil {
return err