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

Fix Recovery Pseudocode #2907

Merged
merged 25 commits into from Sep 4, 2019
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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 @@ -1175,7 +1175,7 @@ GetEarliestLossTime():
space = Initial
for pn_space in [ Handshake, ApplicationData ]:
if (loss_time[pn_space] != 0 &&
(time == 0 || loss_time[pn_space] < time)):
(time == 0 or loss_time[pn_space] < time)):
ianswett marked this conversation as resolved.
Show resolved Hide resolved
time = loss_time[pn_space];
space = pn_space
return time, space
Expand Down Expand Up @@ -1270,7 +1270,7 @@ DetectLostPackets(pn_space):
continue

// Mark packet as lost, or set time when it should be marked.
if (unacked.time_sent <= lost_send_time ||
if (unacked.time_sent <= lost_send_time or
largest_acked_packet[pn_space] >=
unacked.packet_number + kPacketThreshold):
sent_packets[pn_space].remove(unacked.packet_number)
Expand Down