Commit Graph

45 Commits

Author SHA1 Message Date
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
Craig Tiller
de990f9155 Initialize gtest correctly 2015-01-12 17:07:23 -08:00
Craig Tiller
9608f0f212 Make this file compile 2015-01-12 16:41:41 -08:00
yangg
4105e2b86c Add ServiceAccount Credentials wrapping and handle credentials creation
failure.
	Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634736
2015-01-12 11:22:01 -08:00
yangg
59dfc90f57 Client side implementation of creating channel with credentials.
The old test_ssl_channel related code is deleted and the new create channel
call is used for interop tests.
	Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82540921
2014-12-29 16:59:06 -08:00