Commit Graph

65 Commits

Author SHA1 Message Date
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
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).
2016-03-23 13:22:32 +11:00
Craig Tiller 521423c8cf Regenerate files, fix bugs 2016-02-22 22:22:22 -08:00
Craig Tiller 732a875fe8 Add a sanity test for name aliasing 2016-02-22 15:59:19 -08:00
Nicolas "Pixel" Noble 1d43bc3ed3 Fixing copyrights. 2016-02-01 00:51:35 +01:00
Nicolas "Pixel" Noble da71518169 Replacing grpc_max_auth_token_lifetime by an accessor. 2016-01-31 07:47:42 +01:00
Craig Tiller 620e965c1b clang-format after last weeks test-fest 2015-12-14 12:02:50 -08:00
Julien Boeuf 97e5147bd1 One more test for default google creds. 2015-12-10 15:06:45 -08:00
Julien Boeuf 331e3782af Testing cached google default creds. 2015-12-10 14:44:35 -08:00
Craig Tiller 88408c3b73 Fix Windows build
To do pollset work we need grpc to be initialized
2015-12-10 08:12:26 -08:00
Julien Boeuf 2408a1cd6a Testing GCE detection in google default credentials. 2015-12-09 22:34:57 -08:00
Craig Tiller 82e40dac84 Fix memory leak 2015-12-07 18:24:57 -08:00
Craig Tiller f9c8ce98cf Add test for grpc_get_well_known_google_credentials_file_path 2015-12-07 08:21:57 -08:00
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
Julien Boeuf 3c957e60a3 Fixing implementations. 2015-11-18 21:33:58 -08:00
Craig Tiller b113649517 clang-format 2015-11-18 11:30:17 -08:00
Julien Boeuf b73cbc2709 Addressing comments.
The composite channel credentials creation does not change the passed-in
channel creds anymore.
2015-10-20 21:52:54 -07:00
Julien Boeuf 26bf71ce37 Fixing mem leak and compilation error in tsan. 2015-10-10 00:21:05 -07:00
Julien Boeuf 4e02e84062 Got the core test passing. 2015-10-09 22:49:42 -07:00
Craig Tiller 5c1ad056d2 Fix Windows compilation 2015-09-23 10:30:20 -07:00
Craig Tiller b8b1a462e5 Finish cleanup 2015-09-22 12:50:03 -07:00
Craig Tiller a82950e683 clang-format all core files 2015-09-22 12:33:20 -07:00
Craig Tiller e7db29f8c7 Move argument passing to start of list 2015-09-22 10:55:42 -07:00
Craig Tiller f5768a6765 Rename init 2015-09-22 10:54:34 -07:00
Craig Tiller 098047b53a Rename run 2015-09-22 10:53:14 -07:00
Craig Tiller 9f7dc3a4e5 Move argument passing to start of list 2015-09-22 10:47:08 -07:00
Craig Tiller 1be70ccdb8 Move arguments to the start of lists 2015-09-22 10:45:28 -07:00
Craig Tiller 45724b35e4 indent pass to get logical source lines on one physical line 2015-09-22 10:42:19 -07:00
Craig Tiller d9ccbbf6b9 Rename call_list to closure_list 2015-09-22 09:30:00 -07:00
Craig Tiller 10ee2747a9 Merge github.com:grpc/grpc into we-are-one 2015-09-22 09:25:57 -07:00
Craig Tiller dfff1b8126 Call list progress 2015-09-21 14:39:57 -07:00
Julien Boeuf 4ffbf0d22c Adding tests for credentials plugin. 2015-09-14 23:08:51 -07:00
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.
2015-08-25 21:51:07 -07:00
Julien Boeuf c17fecd224 Fixing tests. 2015-08-25 19:41:20 -07:00
Nicolas Noble c7989b6c9f Merge pull request #2788 from ctiller/kinetic-lopsided-poetry
Testing port server
2015-08-07 10:51:08 -07:00
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.
2015-08-04 14:19:43 -07:00
Craig Tiller be043d9ce7 Merge branch 'auth_md_processor' of github.com:jboeuf/grpc into complain-with-both-passion-and-meaning 2015-07-31 08:51:11 -07:00
Julien Boeuf fe4c3f4f14 Renaming jwt_credentials to service_account_jwt_access_credentials. 2015-07-22 16:20:13 -07:00
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.
2015-07-16 22:42:02 -07:00
Julien Boeuf 0b1b1a5999 Merge branch 'master' of github.com:grpc/grpc into flexible_default_creds 2015-07-10 08:35:04 -07:00
Julien Boeuf b037bb6488 Adding tests and fixing mem leak in default creds. 2015-07-08 14:58:14 -07:00
Julien Boeuf 2805be1aa5 Adding support for raw access token credentials. 2015-07-01 02:47:18 -07:00
Craig Tiller 9a57633233 clang-format affected files 2015-06-17 10:21:49 -07:00
Craig Tiller 2c42ef3eb3 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-05 07:09:56 -07:00
Masood Malekghassemi 701af6031f Expose gpr_asprintf and gpr_strdup 2015-06-03 15:24:24 -07:00
Craig Tiller 06bac34df0 Properly integrate credentials metadata delivery 2015-06-01 12:55:57 -07:00
Julien Boeuf 75c9b6f495 Removing mdctx from the credentials. 2015-05-29 13:12:12 -07:00
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.
2015-04-17 23:41:46 -07:00