Skip to content

Commit

Permalink
sent_packet, not lost_packet
Browse files Browse the repository at this point in the history
Fixes #1854
  • Loading branch information
ianswett committed Oct 12, 2018
1 parent b58e366 commit fd1452a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ sent before the newly acknowledged RTO packet.
// Declare all packets prior to packet_number lost.
for (sent_packet: sent_packets):
if (sent_packet.packet_number < packet_number):
bytes_in_flight -= lost_packet.bytes
bytes_in_flight -= sent_packet.bytes
sent_packets.remove(sent_packet.packet_number)
~~~

Expand Down

0 comments on commit fd1452a

Please sign in to comment.