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

Fixes #6072 - jetty server high CPU when client sends TLS record length > 17408 (jetty-9.4.x) #6073

Merged
merged 2 commits into from
Mar 22, 2021

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Mar 18, 2021

…408.

Avoid spinning if the input buffer is full.

Signed-off-by: Simone Bordet [email protected]
Co-authored-by: Joakim Erdfelt [email protected]

…408.

Avoid spinning if the input buffer is full.

Signed-off-by: Simone Bordet <[email protected]>
Co-authored-by: Joakim Erdfelt <[email protected]>
@sbordet sbordet requested a review from joakime March 18, 2021 15:07
@joakime joakime added the Bug For general bugs on Jetty side label Mar 18, 2021
@joakime joakime changed the title Fixes #6072 - jetty server high CPU when client send data length > 17… Fixes #6072 - jetty server high CPU when client send data length > 17408 (jetty-9.4.x) Mar 18, 2021
@joakime joakime changed the title Fixes #6072 - jetty server high CPU when client send data length > 17408 (jetty-9.4.x) Fixes #6072 - jetty server high CPU when client sends TLS record length > 17408 (jetty-9.4.x) Mar 18, 2021
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

Changed my mind.... I think we should check the size on any zero fill, not just the last non zero

…408.

Updates after review.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested a review from gregw March 22, 2021 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High CPU usage when TLS client sends TLS Record data exceeding length 17408
3 participants