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

Add OnPacketReceived to pseudocode #3653

Merged
merged 9 commits into from May 19, 2020
4 changes: 2 additions & 2 deletions draft-ietf-quic-recovery.md
Expand Up @@ -1144,10 +1144,10 @@ Pseudocode for OnPacketSent follows:

## On Receiving a Datagram

When a server is blocked by anti-amplification limits, receiving
When a server is blocked by anti-amplification limits, receiving
a datagram unblocks it, even if none of the packets in the
datagram are successfully processed. In such a case, the PTO
timer is now set, since data is in flight and probes can be sent.
timer may need to be armed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When would it not be armed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought a padded ACK-only packet could hit the limit without bytes in flight, but I realize that each full-sized ACK allows 3 packets to be sent. Updating text.


Pseudocode for OnDatagramReceived follows:

Expand Down