Skip to content

feat: add option to disable chunked headers#6354

Merged
johanbrandhorst merged 1 commit intogrpc-ecosystem:mainfrom
irenarindos:irindos-disable-chunked-transfer-encoding
Feb 12, 2026
Merged

feat: add option to disable chunked headers#6354
johanbrandhorst merged 1 commit intogrpc-ecosystem:mainfrom
irenarindos:irindos-disable-chunked-transfer-encoding

Conversation

@irenarindos
Copy link
Copy Markdown
Contributor

References to other Issues or PRs

n/a

Have you read the Contributing Guidelines?

Yes

Brief description of what is fixed or changed

Adds the option, WithDisableChunkedEncoding() to the ServeMux. If set, this will not set the "Transfer-Encoding": "chunked" header in ForwardResponseStream.

Other comments

Copy link
Copy Markdown
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

This looks great, thank you!

@johanbrandhorst johanbrandhorst enabled auto-merge (squash) February 12, 2026 17:13
@johanbrandhorst
Copy link
Copy Markdown
Collaborator

I'll ignore the fuzz failure, it's unrelated.

@johanbrandhorst johanbrandhorst merged commit d2c77e4 into grpc-ecosystem:main Feb 12, 2026
13 of 14 checks passed
@johanbrandhorst
Copy link
Copy Markdown
Collaborator

Thanks for your contribution ❤️! I just put out v2.27.8, like, yesterday, if you can test this for your needs and let me know how it goes I can put out another release in a week or two depending on what else comes in.

@irenarindos
Copy link
Copy Markdown
Contributor Author

@johanbrandhorst Thanks so much, this works perfectly for us!

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