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 HTTP/2 Empty CONTINUATION & DATA frame counter #11345

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

maskit
Copy link
Member

@maskit maskit commented May 13, 2024

No description provided.

@maskit maskit added the HTTP/2 label May 13, 2024
@maskit maskit added this to the 10.0.0 milestone May 13, 2024
@maskit maskit self-assigned this May 13, 2024
@bryancall bryancall requested a review from bneradt May 13, 2024 22:12
Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

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

Looks good. Just a quick documentation request.

Comment on lines 4582 to 4591
.. ts:cv:: CONFIG proxy.config.http2.max_empty_frames_per_minute INT 0
:reloadable:

Specifies how many empty frames |TS| receives for a minute at maximum.
What "empty frames" means here is DATA frame that does not carry payload
nor END_STREAM flag, and CONTINUATION frame that does not carry payload
nor END_HEADERS flag.
Clients exceeded this limit will be immediately disconnected with an error
code of ENHANCE_YOUR_CALM.

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to document that a negative value means unlimited for these relevant configurations. A default statement would also be helpful. Maybe something like:

Any negative value configures no limit to the number of empty frames received. ``0`` is 
the default configuration, meaning that no empty frames are allowed.

@maskit
Copy link
Member Author

maskit commented May 14, 2024

[approve ci autest]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

3 participants