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

feat(s2n-quic): New function added to Connection Limits provider #2508

Merged
merged 7 commits into from
Mar 4, 2025

Conversation

maddeleine
Copy link
Contributor

@maddeleine maddeleine commented Mar 3, 2025

Release Summary:

New API added to allow users to change connection limits based on the information in the TLS handshake, such as server name and application protocol. Previously users could only change connection limits based on their peer's remote address.

Resolved issues:

resolves #1445

Description of changes:

Added a new function to the connection limits provider. Had to feed the limits provider through to the place where we want it to be called

Call-outs:

Not all connection limits should be allowed to be altered, given that some are transport parameters. Therefore I decided to allow only stream batching to be dynamically configured. We can always add more setters on user request.

Testing:

I added a integ test to ensure Connection limits was giving the correct information to the user. Also added a unit test to make sure UpdateableLimits could indeed update the connection limits.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft merged commit 1605dc7 into main Mar 4, 2025
126 of 129 checks passed
@camshaft camshaft deleted the limits_provider branch March 4, 2025 18:23
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.

Allow updating connection limits dynamically
2 participants