Skip to content

proto: fix NewConnectionId size bound#2311

Merged
Ralith merged 1 commit into
mainfrom
new-cid-size-bound
Jul 21, 2025
Merged

proto: fix NewConnectionId size bound#2311
Ralith merged 1 commit into
mainfrom
new-cid-size-bound

Conversation

@djc

@djc djc commented Jul 21, 2025

Copy link
Copy Markdown
Member

Fixes #2310.

This code was first added in

Later it was updated in

but we neglected to update the size bound.

Introduce a constant to see if we can do better.

Also checked for other constants being compared to -- the only ones remaining seem to be PATH_CHALLENGE and PATH_RESPONSE which are written more directly and are still correct.

@djc djc requested review from Ralith and gretchenfrage as code owners July 21, 2025 10:20
@Ralith Ralith added this pull request to the merge queue Jul 21, 2025
Merged via the queue into main with commit 446cd72 Jul 21, 2025
20 checks passed
@Ralith Ralith deleted the new-cid-size-bound branch July 21, 2025 17:54
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.

Max size of NEW_CONNECTION_ID frame

2 participants