Skip to content

Conversation

@KBaichoo
Copy link
Contributor

@KBaichoo KBaichoo commented Nov 26, 2025

Commit Message: Add the ability to selectively remove huffman encoding headers as the sender for a given hop.
Additional Description: This is just #38270 without the wonked git history from being an old PR.
Risk Level: low (off by default)
Testing: Unit test, Running in Prod
Docs Changes: n/a
Release Notes: included
Platform Specific Features: n/a
Fixes: #38025

@repokitteh-read-only repokitteh-read-only bot added api deps Approval required for changes to Envoy's external dependencies labels Nov 26, 2025
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @moderation

🐱

Caused by: #42263 was opened by KBaichoo.

see: more, trace.

@adisuissa
Copy link
Contributor

Assigning @RyanTheOptimist as a reviewer (legacy from #38270). Feel free to reassign if needed.
/assign @RyanTheOptimist

@moderation
Copy link
Contributor

Dependency change is the addition of a patch. Requires API review too

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Nov 27, 2025
@RyanTheOptimist
Copy link
Contributor

/wait

@repokitteh-read-only repokitteh-read-only bot added deps Approval required for changes to Envoy's external dependencies and removed waiting labels Dec 4, 2025
RyanTheOptimist
RyanTheOptimist previously approved these changes Dec 4, 2025
Copy link
Contributor

@RyanTheOptimist RyanTheOptimist left a comment

Choose a reason for hiding this comment

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

Looks great!

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Dec 4, 2025
@KBaichoo
Copy link
Contributor Author

KBaichoo commented Dec 8, 2025

PTAL @markdroth

// Disables encoding the headers using huffman encoding.
// This can be useful in cases where the cpu spent encoding the headers isn't
// worth the network bandwidth saved e.g. for localhost.
bool disable_huffman_encoding = 18;
Copy link
Contributor

Choose a reason for hiding this comment

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

How about encoding this as google.protobuf.BoolValue enable_huffman_encoding, so that the data plane's default isn't necessarily baked into the API? It also avoids a double negative -- i.e., instead of if (!disable_huffman_encoding), we can say if (enable_huffman_encoding).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea, done.

@mathetake
Copy link
Member

ping @KBaichoo it looks like this PR is waiting for you to address one comment

@KBaichoo
Copy link
Contributor Author

yep will take a swing at this today -- have been busy with oncall 📟

@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Dec 19, 2025
@markdroth
Copy link
Contributor

/lgtm api

Signed-off-by: Kevin Baichoo <[email protected]>
@agrawroh
Copy link
Member

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Dec 20, 2025
@mathetake
Copy link
Member

@markdroth could you stamp again?

@markdroth
Copy link
Contributor

/lgtm api

@mathetake mathetake merged commit 5f2ccbd into envoyproxy:main Dec 24, 2025
27 checks passed
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.

Performance: Add the option to disable huffman encoding for HTTP2 in certain scenarios.

7 participants