Skip to content

Commit

Permalink
Add an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed May 30, 2020
1 parent 820497e commit 8295012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ GetPtoTimeAndSpace():
* (2 ^ pto_count)
# Arm PTO from now when there are no inflight packets
if (no in-flight packets):
assert(!PeerCompletedAddressValidation())
if (has handshake keys):
return (now() + duration), Handshake
else:
Expand Down

0 comments on commit 8295012

Please sign in to comment.