Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth: async-ify and clean up #1321

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

howardjohn
Copy link
Member

The Interceptor usage in tonic is not really useful for us since we make
our own client for other reasons (tls, etc) so we can already easily
insert some headers. It also makes us do some awkward DefaultIncoming
stuff, and doesn't allow async.

This moves the auth to async, which is generally a good idea and more
flexible, and cleans up some of the cruft

The Interceptor usage in tonic is not really useful for us since we make
our own client for other reasons (tls, etc) so we can already easily
insert some headers. It also makes us do some awkward DefaultIncoming
stuff, and doesn't allow async.

This moves the auth to async, which is generally a good idea and more
flexible, and cleans up some of the cruft
@howardjohn howardjohn requested a review from a team as a code owner September 19, 2024 21:13
@howardjohn howardjohn added the release-notes-none Indicates a PR that does not require release notes. label Sep 19, 2024
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 19, 2024
@istio-testing istio-testing merged commit d795e33 into istio:master Sep 19, 2024
3 checks passed
antonioberben pushed a commit to antonioberben/ztunnel that referenced this pull request Oct 1, 2024
The Interceptor usage in tonic is not really useful for us since we make
our own client for other reasons (tls, etc) so we can already easily
insert some headers. It also makes us do some awkward DefaultIncoming
stuff, and doesn't allow async.

This moves the auth to async, which is generally a good idea and more
flexible, and cleans up some of the cruft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants