Commit Graph

89 Commits

Author SHA1 Message Date
David Garcia Quintas a03d204dd7 Update credentials test after #9328 2017-04-11 16:09:31 -07:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller 17f6904bad Merge branch 'slice_with_exec_ctx_and_new_closures' into metadata_filter_and_new_closures 2017-01-04 10:17:31 -08:00
Craig Tiller 0b09341461 Merge branch 'cleanup_closures' into slice_with_exec_ctx_and_new_closures 2017-01-03 09:49:07 -08:00
Craig Tiller 91031dacb1 Changes to exec_ctx/closure/combiner/workqueue interfaces
- make closures know where they should be executed (eg, on a workqueue,
  or a combiner, or on an exec_ctx)
- this allows removal of a large number of trampoline functions that
  were appearing whenever we used combiners, and should allow for a much
  easier interface to combiner locks
2016-12-28 15:44:25 -08:00
Craig Tiller 3b05e1da91 Move from cmp --> eq, and provide a good implementation for interning 2016-11-21 13:46:31 -08:00
Craig Tiller 7d4116fa44 All core tests compile without grpc_mdstr 2016-11-17 12:16:05 -08:00
Craig Tiller 10cd356662 Finish moving to new APIs 2016-11-09 15:20:59 -08:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
murgatroid99 c0aa97d158 Merge branch 'master' into uv_core_transport 2016-10-12 16:41:38 -07:00
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.
2016-09-22 15:13:07 -07:00
murgatroid99 165e5066e4 Only use unsetenv where available 2016-08-10 10:05:14 -07:00
murgatroid99 7c205906d5 Removed GPR_POSIX_FILE, and changed the files that used it 2016-08-09 10:07:42 -07:00
Jan Tattermusch a5cae9bd64 Merge pull request #6798 from jboeuf/fix_3803
Fix #3803
2016-06-24 16:14:02 -07:00
Julien Boeuf bfc7ed6628 Merge branch 'master' into fix_3803 2016-06-04 18:03:42 -07:00
Craig Tiller 332f1b35d5 Rename functions 2016-05-24 13:21:21 -07:00
Julien Boeuf 2e3c9ad6dd Starting the work to fix #3803.
- We still need a way to bubble up this error.
2016-05-18 22:18:09 -07:00
Craig Tiller b30d3d727a Address some memory leaks 2016-05-18 12:12:21 -07:00
Craig Tiller 4727b9be84 Cleanup error handling for google_default_credentials 2016-05-17 17:19:19 -07:00
Craig Tiller f707d62db6 Convert tests to new error scheme 2016-05-06 14:26:12 -07:00
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...
2016-05-04 15:51:28 -07:00
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