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

Fix #4461 HttpOutput Aggregation (#4466) #3

Merged
merged 1 commit into from
Jan 12, 2020

Conversation

tswstarplanet
Copy link
Owner

Added tests to check that aggregation continues after first flush of an aggregated buffer (this triggers both jetty#4461 and the discovered bug of not aggregating because of empty at capacity aggregate buffer).

Added getAggregateSize method that does a compact to avoid empty at capacity aggregate buffer

Call onWriteComplete if residue of an overflow aggregation can itself be aggregated.

Signed-off-by: Greg Wilkins [email protected]

Removed implicit compact from GzipHandler

Signed-off-by: Greg Wilkins [email protected]

Improve test coverage

Signed-off-by: Greg Wilkins [email protected]

Remove case that can never happen.

Signed-off-by: Greg Wilkins [email protected]

updates from review

Signed-off-by: Greg Wilkins [email protected]

* Issue #4461 HttpOutput Aggregation

Added tests to check that aggregation continues after first flush of an aggregated buffer (this triggers both #4461 and the discovered bug of not aggregating because of empty at capacity aggregate buffer).

Added getAggregateSize method that does a compact to avoid empty at capacity aggregate buffer

Call onWriteComplete if residue of an overflow aggregation can itself be aggregated.

Signed-off-by: Greg Wilkins <[email protected]>

* Issue #4461 HttpOutput Aggregation

Removed implicit compact from GzipHandler

Signed-off-by: Greg Wilkins <[email protected]>

* Issue #4461 HttpOutput Aggregation

Improve test coverage

Signed-off-by: Greg Wilkins <[email protected]>

* Issue #4461 HttpOutput Aggregation

Remove case that can never happen.

Signed-off-by: Greg Wilkins <[email protected]>

* Issue #4461 HttpOutput Aggregation

updates from review

Signed-off-by: Greg Wilkins <[email protected]>
@tswstarplanet tswstarplanet merged commit 1031705 into tswstarplanet:jetty-9.4.x Jan 12, 2020
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