-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
alts: Read max number of concurrent ALTS handshakes from environment variable. #6267
Merged
matthewstevenson88
merged 30 commits into
grpc:master
from
matthewstevenson88:alts-read-envvar
Jun 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
1852f83
Read max number of concurrent ALTS handshakes from environment variable.
matthewstevenson88 6e70e9b
Refactor to use new envconfig file.
matthewstevenson88 e3f3dcc
Remove impossible if condition in acquire().
matthewstevenson88 f8d609a
Use weighted semaphore.
matthewstevenson88 6f61a5a
Add e2e test for concurrent ALTS handshakes.
matthewstevenson88 6f2edc6
Merge branch 'grpc:master' into alts-read-envvar
matthewstevenson88 e41e933
Merge branch 'master' of https://github.com/matthewstevenson88/grpc-g…
matthewstevenson88 e53683d
Separate into client and server semaphores.
matthewstevenson88 93e546c
Merge branch 'master' of https://github.com/matthewstevenson88/grpc-g…
matthewstevenson88 97177fa
Use TryAcquire instead of Acquire.
matthewstevenson88 ad5e053
Attempt to fix go.sum error.
matthewstevenson88 a151bb3
Run go mod tidy compat=1.17.
matthewstevenson88 b486c31
Update go.mod for examples subdirectory.
matthewstevenson88 e8933fd
Run go mod tidy -compat=1.17 on examples subdirectory.
matthewstevenson88 803c907
Update go.mod in subdirectories.
matthewstevenson88 cbb7ac2
Update go.mod in security/advancedtls/examples.
matthewstevenson88 ac93ee8
Missed another go.mod update.
matthewstevenson88 c1216c0
Do not upgrade glog because it requires Golang 1.19.
matthewstevenson88 d98424f
Fix glog version in examples/go.sum.
matthewstevenson88 9d5d1dc
More glog cleanup.
matthewstevenson88 ff48d09
Fix glog issue in gcp/observability/go.sum.
matthewstevenson88 75b0dc0
Move ALTS env var into envconfig.go.
matthewstevenson88 caa6ad8
Merge branch 'master' of https://github.com/matthewstevenson88/grpc-g…
matthewstevenson88 0fec934
Fix go.mod files.
matthewstevenson88 0ab0b7d
Revert go.sum files.
matthewstevenson88 f247acb
Merge branch 'master' of https://github.com/matthewstevenson88/grpc-g…
matthewstevenson88 d046f3a
Revert interop/observability/go.mod change.
matthewstevenson88 ab17f8d
Run go mod tidy -compat=1.17 on examples/.
matthewstevenson88 f75369c
Run gofmt.
matthewstevenson88 8c5bc34
Add comment describing test init function.
matthewstevenson88 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look at the following files to get an idea of how we handle env vars in grpc-go:
https://github.com/grpc/grpc-go/blob/master/internal/envconfig/envconfig.go
https://github.com/grpc/grpc-go/blob/master/internal/envconfig/xds.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pointers! I've cleaned up the PR accordingly. :)