Craig Tiller
3b05e1da91
Move from cmp --> eq, and provide a good implementation for interning
8 years ago
Craig Tiller
7d4116fa44
All core tests compile without grpc_mdstr
8 years ago
Craig Tiller
10cd356662
Finish moving to new APIs
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Julien Boeuf
e26ab6c561
Adding a method in channel creds to remove any attached call creds.
...
This will be useful when talking to non-trusted load balancer (balancers
which are not able to impersonate real backends) as these balancers
should not receive bearer tokens.
8 years ago
murgatroid99
165e5066e4
Only use unsetenv where available
8 years ago
murgatroid99
7c205906d5
Removed GPR_POSIX_FILE, and changed the files that used it
8 years ago
Craig Tiller
332f1b35d5
Rename functions
9 years ago
Julien Boeuf
2e3c9ad6dd
Starting the work to fix #3803 .
...
- We still need a way to bubble up this error.
9 years ago
Craig Tiller
b30d3d727a
Address some memory leaks
9 years ago
Craig Tiller
4727b9be84
Cleanup error handling for google_default_credentials
9 years ago
Craig Tiller
f707d62db6
Convert tests to new error scheme
9 years ago
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
Matthew Iselin
1824f0519f
Add HTTP request parsing.
...
This extends the existing http parser to support requests as well as responses.
httpcli continues to exist and work as it has previously, though in the new
directory src/core/http (to reflect the fact the directory now contains code
relevant to parsing requests, which httpcli would not generally involve itself
in).
9 years ago
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Nicolas "Pixel" Noble
1d43bc3ed3
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
da71518169
Replacing grpc_max_auth_token_lifetime by an accessor.
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
Julien Boeuf
97e5147bd1
One more test for default google creds.
9 years ago
Julien Boeuf
331e3782af
Testing cached google default creds.
9 years ago
Craig Tiller
88408c3b73
Fix Windows build
...
To do pollset work we need grpc to be initialized
9 years ago
Julien Boeuf
2408a1cd6a
Testing GCE detection in google default credentials.
9 years ago
Craig Tiller
82e40dac84
Fix memory leak
9 years ago
Craig Tiller
f9c8ce98cf
Add test for grpc_get_well_known_google_credentials_file_path
9 years ago
Nicolas "Pixel" Noble
ba404826be
Clang format.
9 years ago
Craig Tiller
b774be46d7
clang-format
9 years ago
Julien Boeuf
3c957e60a3
Fixing implementations.
9 years ago
Craig Tiller
b113649517
clang-format
9 years ago
Julien Boeuf
b73cbc2709
Addressing comments.
...
The composite channel credentials creation does not change the passed-in
channel creds anymore.
9 years ago
Julien Boeuf
26bf71ce37
Fixing mem leak and compilation error in tsan.
9 years ago
Julien Boeuf
4e02e84062
Got the core test passing.
9 years ago
Craig Tiller
5c1ad056d2
Fix Windows compilation
9 years ago
Craig Tiller
b8b1a462e5
Finish cleanup
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
e7db29f8c7
Move argument passing to start of list
9 years ago
Craig Tiller
f5768a6765
Rename init
9 years ago
Craig Tiller
098047b53a
Rename run
9 years ago
Craig Tiller
9f7dc3a4e5
Move argument passing to start of list
9 years ago
Craig Tiller
1be70ccdb8
Move arguments to the start of lists
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
d9ccbbf6b9
Rename call_list to closure_list
9 years ago
Craig Tiller
dfff1b8126
Call list progress
9 years ago
Julien Boeuf
4ffbf0d22c
Adding tests for credentials plugin.
9 years ago
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
9 years ago
Julien Boeuf
c17fecd224
Fixing tests.
9 years ago