Skip to content

recovery: Update max send payload size when receiving peer TPs - #2845

Open
TheJokr wants to merge 2 commits into
cloudflare:masterfrom
TheJokr:send-payload-conn-migration
Open

TheJokr wants to merge 2 commits into
cloudflare:masterfrom
TheJokr:send-payload-conn-migration

Conversation

@TheJokr

@TheJokr TheJokr commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

We used to only apply the peer's max_udp_payload_size to the
currently-active path upon reception of the peer's transport parameters.
The value was not persisted in RecoveryConfig, which meant new paths
discovered after the transport parameters were processed ignored this
value.

Fix this by updating RecoveryConfig with the value we receive, similar
to max_ack_delay.

@TheJokr
TheJokr requested a review from a team as a code owner October 23, 2026 13:54
We used to only apply the peer's `max_udp_payload_size` to the
currently-active path upon reception of the peer's transport parameters.
The value was not persisted in `RecoveryConfig`, which meant new paths
discovered after the transport parameters were processed ignored this
value.

Fix this by updating `RecoveryConfig` with the value we receive, similar
to `max_ack_delay`.
@TheJokr
TheJokr force-pushed the send-payload-conn-migration branch from d103b07 to 771b843 Compare October 26, 2026 12:08

This branch has not been deployed

No deployments
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.

1 participant