Skip to content

Auto-port 4.1: Add HttpContentCompressor constructor with ability to specify desired maxPipelineDepth - #17085

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-17068-to-4.1
Jul 10, 2026
Merged

normanmaurer merged 1 commit into
4.1from
auto-port-pr-17068-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #17068 to 4.1
Cherry-picked commit: 61aca07


Motivation:

In scope of #17063, the HttpContentEncoder got a new property maxPipelineDepth and the respective constructor variant. However, the subclasses, notably HttpContentCompressor have not been updated to allow changing maxPipelineDepth and always use the default 128.

Modification:

Add HttpContentCompressor constructor variant with ability to specify desired maxPipelineDepth. It would help us to absorb the change through configuration setting.

@chrisvest would appreciate your feedback, thank you.

… maxPipelineDepth (#17068)

Motivation:

In scope of #17063, the
`HttpContentEncoder` got a new property `maxPipelineDepth` and the
respective constructor variant. However, the subclasses, notably
`HttpContentCompressor` have not been updated to allow changing
`maxPipelineDepth` and always use the default `128`.

Modification:

Add `HttpContentCompressor` constructor variant with ability to specify
desired `maxPipelineDepth`. It would help us to absorb the change
through configuration setting.

@chrisvest would appreciate your feedback, thank you.

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 61aca07)
@normanmaurer normanmaurer added this to the 4.1.137.Final milestone Jul 10, 2026
@normanmaurer
normanmaurer merged commit 9a2c826 into 4.1 Jul 10, 2026
19 checks passed
@normanmaurer
normanmaurer deleted the auto-port-pr-17068-to-4.1 branch July 10, 2026 17:43
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
…specify desired maxPipelineDepth (netty#17085)

Auto-port of netty#17068 to 4.1
Cherry-picked commit: 61aca07

---
Motivation:

In scope of netty#17063, the
`HttpContentEncoder` got a new property `maxPipelineDepth` and the
respective constructor variant. However, the subclasses, notably
`HttpContentCompressor` have not been updated to allow changing
`maxPipelineDepth` and always use the default `128`.

Modification:

Add `HttpContentCompressor` constructor variant with ability to specify
desired `maxPipelineDepth`. It would help us to absorb the change
through configuration setting.

@chrisvest would appreciate your feedback, thank you.

Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
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.

3 participants