Commit Graph

55 Commits

Author SHA1 Message Date
Mark D. Roth e0778b2c18 Add cancellation to asynchronous security APIs. 2017-07-21 15:42:00 -07:00
ncteisen 274bbbe6a0 Add rich closure debug mode 2017-06-08 15:29:29 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Craig Tiller 4d16f4dd1d Add some casts for C++ compatibility 2017-05-10 08:21:08 -07:00
Yuchen Zeng 47de64c700 zalloc grpc_pollset 2017-02-22 19:04:38 -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 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Jan Tattermusch a5cae9bd64 Merge pull request #6798 from jboeuf/fix_3803
Fix #3803
2016-06-24 16:14:02 -07:00
Craig Tiller c97065da86 Merge github.com:grpc/grpc into error 2016-06-07 13:00:14 -07:00
David Garcia Quintas 69ff63d158 clang-format 2016-06-06 16:39:47 -07:00
David Garcia Quintas c4d5112719 moar renamings 2016-06-06 14:56:02 -07:00
Julien Boeuf bfc7ed6628 Merge branch 'master' into fix_3803 2016-06-04 18:03:42 -07:00
Craig Tiller 573acec7d4 Fix flipped condition 2016-06-02 08:41:18 -07:00
David Garcia Quintas 2a50dfefdc s/grpc_pops/grpc_polling_entity 2016-05-31 15:10:58 -07:00
David Garcia Quintas 8bec6f6a55 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-05-31 13:59:37 -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
David Garcia Quintas 582f4350ed Added missing pops_create to oauth2_utils 2016-05-18 14:49:18 -07:00
Craig Tiller 4f1d0f337b Error reporting progress 2016-05-06 17:12:37 -07:00
Craig Tiller ddad978996 API fuzzer compiles with new error handling 2016-05-05 17:11:31 -07:00
David Garcia Quintas 604490973b allocate grpc_pops on the stack 2016-05-04 20:20:04 -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
David Garcia Quintas f72eb97b36 Introduced grpc_pops (pollset or pollset_set) 2016-05-03 18:28:09 -07:00
David Garcia Quintas 4afce7e66f Changes across the board from pollset to pollset_set 2016-04-18 17:39:48 -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 69b093b360 Revert "Revert "Add an implementation firewall against pollset_set"" 2016-02-25 19:04:07 -08:00
Vijay Pai e9ef536451 Revert "Add an implementation firewall against pollset_set" 2016-02-25 18:10:24 -08:00
Craig Tiller 85371a2bb0 Change pollset mutex ownership 2016-02-25 13:55:13 -08:00
Craig Tiller a8be91b315 Provide an interface firewall between pollset and its implementations
Starting to allow for >1 implementation of pollset within a binary.

Do so without requiring an extra allocation for completion queues (which
we could not tolerate).
2016-02-19 16:22:44 -08:00
Craig Tiller d0a8ae1266 Move worker into pollset 2016-02-18 08:01:19 -08:00
Craig Tiller a93a25f7bc Update copyrights 2016-01-28 13:55:49 -08:00
Craig Tiller 6c39686dfa Preparatory changes for work shedding
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
  success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
  functions
2016-01-28 13:53:40 -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
Julien Boeuf 4e02e84062 Got the core test passing. 2015-10-09 22:49:42 -07:00
Craig Tiller a82950e683 clang-format all core files 2015-09-22 12:33:20 -07:00
Craig Tiller 8af4c33718 Final patches for rename 2015-09-22 12:32:31 -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 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 dfff1b8126 Call list progress 2015-09-21 14:39:57 -07:00
Craig Tiller d1bec03fa1 Call list progress 2015-09-18 17:29:00 -07:00
Craig Tiller 4c06b820e0 Add a test of non-blocking API behavior
... also fix things that were broken :)
2015-08-06 08:41:31 -07:00
Craig Tiller 06aeac6470 Merge github.com:grpc/grpc into plucking-hell 2015-07-30 07:54:12 -07:00