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

CUSTCOM-83 Infinite Loop Causing CPU Hogging 2.3.31 #19

Merged
merged 2 commits into from
Dec 16, 2019
Merged

CUSTCOM-83 Infinite Loop Causing CPU Hogging 2.3.31 #19

merged 2 commits into from
Dec 16, 2019

Conversation

MattGill98
Copy link

@MattGill98 MattGill98 commented Dec 16, 2019

See the first commit for the actual changes. To summarise this issue:

In some scenarios, an SSL connection is terminated before data is fully sent. In this case, the SSLBaseFilter will currently keep passing the incomplete data down the chain. An infinite loop was caused by the data handling filters deciding there's not enough data, and restarting the chain. This change makes sure that the SSLBaseFilter doesn't try to repeatedly process incomplete data on a terminated SSL connection

This should prevent endless loops if the SSL connection is terminated
early without enough data.

Signed-off-by: Matt Gill <matthew.gill@live.co.uk>
@MattGill98 MattGill98 self-assigned this Dec 16, 2019
@MattGill98 MattGill98 merged commit 66cb4ed into payara:2.3.31.payara-maintenance Dec 16, 2019
@MattGill98 MattGill98 changed the title CUSTCOM-83 Infinite Loop Causing CPU Hogging CUSTCOM-83 Infinite Loop Causing CPU Hogging 2.3.31 Dec 16, 2019
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.

2 participants