Commit Graph

49 Commits

Author SHA1 Message Date
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
Craig Tiller 5ddbb9d405 Allow specific pollers to be woken
Currently, if two threads call grpc_completion_queue_pluck on the same
completion queue for different tags, there is a 50% chance that we
deliver the completion wakeup to the wrong poller - forcing the correct
poller to wait until its polling times out before it can return an event
up to the application.

This change tweaks our polling interfaces so that we can indeed wake a
specific poller.

Nothing has been performance tuned yet. It's definitely sub-optimal in a
number of places. Wakeup file-descriptors should be recycled. We should
have a path that avoids calling poll() followed by epoll(). We can
probably live without it right at the second though.

This code will fail on Windows at least (I'll do that port when I'm in the office and have a Windows
machine).
2015-07-29 15:58:11 -07:00
yang-g c5eccd45f4 Fix clock type mismatch 2015-07-28 00:23:50 -07:00
yang-g 5e7e55b957 Merge with head and resolve conflict 2015-07-17 22:15:12 -07:00
yang-g 76fcaeeeb5 resolve comments 2015-07-13 23:46:06 -07:00
yang-g be5f059219 Add oauth2_auth_token test case in interop test 2015-07-13 11:11:50 -07:00