Skip to content

Commit

Permalink
Update draft-ietf-quic-recovery.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed Jul 9, 2019
1 parent 21c7924 commit d457011
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1221,21 +1221,23 @@ OnLossDetectionTimeout():
if (loss_time != 0):
// Time threshold loss Detection
DetectLostPackets(pn_space)
else if (endpoint is client without 1-RTT keys):
SetLossDetectionTimer()
return

if (endpoint is client without 1-RTT keys):
// Client sends an anti-deadlock packet: Initial is padded
// to earn more anti-amplification credit,
// a Handshake packet proves address ownership.
if (has Handshake keys):
SendOneHandshakePacket()
else:
SendOnePaddedInitialPacket()
pto_count++
else:
// PTO. Send new data if available, else retransmit old data.
// If neither is available, send a single PING frame.
SendOneOrTwoPackets()
pto_count++

pto_count++
SetLossDetectionTimer()
~~~

Expand Down

0 comments on commit d457011

Please sign in to comment.