yang-g
5779dd935a
Qualify the error code with StatusCode::
2019-07-10 13:52:31 -07:00
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Karthik Ravi Shankar
858b5cca20
Fix clang_format_code.sh issues and move the internal calls to new name
2019-04-23 11:45:11 -07:00
Karthik Ravi Shankar
17ca558e13
Merge branch 'master' into grpc_namespace_channel_arguments
2019-04-23 11:38:13 -07:00
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
2019-04-22 23:53:53 +02:00
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20 .
2019-04-17 14:35:29 -04:00
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25 .
2019-04-11 16:52:54 -07:00
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
2019-04-08 18:27:07 -04:00
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
2019-03-26 11:57:21 -07:00
yang-g
038a71d826
Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util
2018-12-17 08:52:20 -08:00
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
2018-12-11 07:48:14 -08:00
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
2018-12-07 16:13:37 -08:00
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 12:41:51 -08:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Guantao Liu
18ba787392
Fix the unused result error in client_channel_stress_test.cc.
2018-10-01 18:21:23 -07:00
adelez
5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds""
2018-06-15 16:31:21 -07:00
Nicolas Noble
43557fee0b
Revert "Add suppressions to sanitizers for bazel builds"
2018-06-14 10:49:11 -07:00
Adele Zhou
4cd659505c
Add data param to grpc_cc_library
2018-06-13 15:36:28 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Vijay Pai
87e2e6a58a
clang-fmt
2018-02-19 22:45:47 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Mark D. Roth
209f644f04
Convert resolver API to C++.
2018-02-08 10:26:46 -08:00
yang-g
a29d6d0d74
remove use of random_shuffle
2018-01-18 15:54:29 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
36522e9f80
Merge master after no Extern C changes
2017-11-30 17:47:36 -08:00
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
2017-11-21 19:38:09 -08:00
ncteisen
adbfbd5977
Remove all extern C
2017-11-17 14:08:57 -08:00
Juanli Shen
e5d2139e1e
Add client channel stress test
2017-11-14 16:07:23 -08:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Noah Eisen
89371914c9
Fix error refcount bug
...
Added a missing ref in httpcli.c. Also added a test to avoid
regression
2017-05-02 23:26:05 -07:00
yang-g
52705590e4
Add set pointer api to channel_arguments
2015-11-25 11:45:33 -08:00
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
2015-10-12 14:09:13 -07:00
Julien Boeuf
5be92a316d
Shuffling headers around.
2015-08-28 16:28:18 -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
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
Craig Tiller
b256faa353
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
2015-07-23 11:28:16 -07:00
Vijay Pai
c4af224970
Remove one range-based for and do appropriate static casts on nullptr
2015-07-21 18:44:20 +00:00
Yang Gao
a89389283f
support per call credentials in c++
2015-05-14 11:51:07 -07:00
Nicolas "Pixel" Noble
fd2bf675f7
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
2015-04-24 13:09:40 -07:00
Nicolas Noble
89219162dd
Refactoring std::chrono out.
2015-04-08 05:42:08 +02:00
Yang Gao
6baa9b67ad
clang-format c++ code
2015-03-17 10:49:39 -07:00
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
vjpai
c1231eb543
Include typecasts so that int and size_t are not compared (since their
...
signs don't match)
2015-02-18 22:15:14 -08:00
Craig Tiller
190d360def
Add missing new-lines at end of file
2015-02-18 09:23:38 -08:00
Craig Tiller
0605995e55
Update copyright to 2015
2015-02-18 08:34:56 -08:00
Julien Boeuf
8fbcc4391e
Changing the SSL (Server) Credentials API.
...
- Changed the unsigned char * + size to NULL terminated strings which
makes sense for the PEM format. I may change TSI later (but the impact
will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
option to not specify the roots which will then be derived from the
environment (well-known platform dependent locations and/or
environment variable).
- Fixed the php build which is the only one added in the run_test.py.
This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00