Skip to content

[Feature] Support 'allowPartialChunks' in the HttpDecoderSpec #3452

@reta

Description

@reta

Motivation

The Netty's HttpDecoderConfig exposes allowPartialChunks property which hints the HttpObjectDecoded if the chunk could be split into multiple when chunk exceeds the readable bytes. The HttpDecoderSpec sadly does not provide the way to configure it.

Desired solution

Support 'allowPartialChunks' in the HttpDecoderSpec so it could be used to create HttpDecoderConfig instances with respective property set.

Considered alternatives

N/A

Additional context

We right now are running into an issue when the complete chunk should be consumed but the partial ones are being produced instead.

@violetagg I am happy to submit the pull request if the feature makes sense to you, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions