Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor DetectLostPackets #2066

Merged
merged 7 commits into from Dec 6, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions draft-ietf-quic-recovery.md
Expand Up @@ -871,7 +871,7 @@ DetectLostPackets(largest_acked):

// Packets sent before this time are deemed lost.
lost_send_time = now() - loss_delay

// Packets with packet numbers before this are deemed lost.
lost_pn = largest_acked.packet_number - kPacketThreshold

Expand All @@ -888,7 +888,7 @@ DetectLostPackets(largest_acked):
else if (loss_time == 0):
loss_time = unacked.time_sent + loss_delay
else:
loss_time = min(loss_time, unacked.time_sent + loss_delay)
loss_time = min(loss_time, unacked.time_sent + loss_delay)

// Inform the congestion controller of lost packets and
// let it decide whether to retransmit immediately.
Expand Down