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
Craig Tiller
f53d9c8d0d
Testing port server
...
run_tests.py will start a server (if it's not running, or if the running
port server mismatches the 'current' one) that serves ports to use for
tests. The server is left running after run_tests.py finishes, so that
in environments such as Mac and Windows where tests run unshielded from
each other, we don't start jumping on already used ports.
9 years ago
Julien Boeuf
fe4c3f4f14
Renaming jwt_credentials to service_account_jwt_access_credentials.
9 years ago
Julien Boeuf
ea456fc2bf
Server auth metadata processor.
...
- Right now it is a global function: would be better to have this per
(secure) port.
- Changed the interface of the auth_context slightly to make it more
friendly.
- Positive tests pass. Still need some work on error case (have a
negative case as well).
- Fixing cpp auth context tests so that they use the shiny new C API.
10 years ago
Julien Boeuf
b037bb6488
Adding tests and fixing mem leak in default creds.
10 years ago
Julien Boeuf
2805be1aa5
Adding support for raw access token credentials.
10 years ago
Craig Tiller
9a57633233
clang-format affected files
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Craig Tiller
06bac34df0
Properly integrate credentials metadata delivery
10 years ago
Julien Boeuf
75c9b6f495
Removing mdctx from the credentials.
10 years ago
Julien Boeuf
7d1d9ca7fa
Refactoring of core security to remove the factories.
...
- Renamed security_context -> security_connector.
- Credentials are now responsible for creating their own connectors.
10 years ago
Julien Boeuf
9835cf0234
Adding refresh token credentials.
...
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
tools.
10 years ago
Ronnie Sahlberg
2ad8d21158
strcmp: change all !str[n]cmp to str[n]cmp == 0
...
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.
Issue #231
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Julien Boeuf
f47a5cb93d
Implementing JWT credentials (a.k.a JWT ID Tokens).
...
- Not tested end to end yet
10 years ago