Skip to content

xds: Reuse ext_authz header mutation helpers - #13148

Open
JoeCqupt wants to merge 1 commit into
grpc:masterfrom
JoeCqupt:feat/ext-authz-callback-cleanup
Open

JoeCqupt wants to merge 1 commit into
grpc:masterfrom
JoeCqupt:feat/ext-authz-callback-cleanup

Conversation

@JoeCqupt

Copy link
Copy Markdown
Contributor

Summary

  • Reuse a single stateless HeaderMutator across authorization callbacks.
  • Reuse immutable empty HeaderMutations instead of allocating one on each failure-mode-allow callback.
  • Remove the two completed TODOs in AuthzCallbackObserver.

@JoeCqupt

Copy link
Copy Markdown
Contributor Author

@kannanjgithub @sauravzg PTAL

This branch has not been deployed

No deployments
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.

1 participant