Skip to content

Account received data for the most recent path - #1143

Merged
Ralith merged 1 commit into
quinn-rs:mainfrom
Matthias247:pathrecvd
Jun 12, 2021
Merged

Account received data for the most recent path#1143
Ralith merged 1 commit into
quinn-rs:mainfrom
Matthias247:pathrecvd

Conversation

@Matthias247

Copy link
Copy Markdown
Contributor

When path migration happened, the data received was accounted for
the old path, and provided the server less anti-amplification budget
to respond to the client.
By accessing path only after the first packet had been processed and
migration was initiated we make sure the new path gets the budget.

When path migration happened, the data received was accounted for
the old path, and provided the server less anti-amplification budget
to respond to the client.
By accessing path only after the first packet had been processed and
migration was initiated we make sure the new path gets the budget.

@Ralith Ralith left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good fix!

@Ralith
Ralith merged commit f6519b0 into quinn-rs:main Jun 12, 2021
@Matthias247
Matthias247 deleted the pathrecvd branch June 14, 2021 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants