Michael Behr
7217dcd099
Merge remote-tracking branch 'upstream/master' into interop-client-additional-metadata
2019-03-06 12:40:09 -05:00
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
2019-02-27 16:53:23 -08:00
Michael Behr
473041e06b
Format code.
2019-02-27 10:52:45 -05:00
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc , reversing
changes made to 76a38bfcc2 .
2019-02-25 10:11:06 -08:00
Michael Behr
60f060e078
Let interop_client send additional metadata, controlled by a flag.
2019-02-25 11:26:22 -05:00
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
2019-02-22 16:34:24 -08:00
yang-g
0df63d3c98
Merge branch 'master' into shutdown
2019-02-15 21:51:03 -08:00
Soheil Hassas Yeganeh
db38d4ca9b
Merge pull request #17939 from vertextao/gpr_mu_cv-leak-test
...
Add ASAN-only leak detection for gpr_mu/cv and fix the newly caught leaks
2019-02-15 21:43:32 -05:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
xtao
7766912dda
fix more detected mu/cv leaks
2019-02-16 00:00:50 +08:00
Nicolas "Pixel" Noble
de332cfcee
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 22:11:47 +01:00
Jan Tattermusch
bc19ba1668
Merge pull request #18037 from xichengliudui/fixtypos
...
Fix various typos in .cc and .md and .py files
2019-02-13 13:24:34 +01:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
yang-g
bc946d6c6d
merge with head and resolve conflicts
2019-02-12 15:00:32 -08:00
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
2019-02-12 11:11:43 -05:00
Jan Tattermusch
18856a87fc
Merge branch 'master' into updatefiles
2019-02-06 11:45:11 +01:00
ncteisen
82171553cf
clang fmt
2019-02-01 15:23:44 -08:00
ncteisen
fa74259769
Reintroduce commented debugging tips
2019-02-01 13:19:34 -08:00
ncteisen
632aa8125f
reintroduce anon namespace
2019-02-01 13:15:19 -08:00
ncteisen
c215e8e359
Fix internal build
2019-02-01 12:14:06 -08:00
xichengliudui
8548a932fb
Update .cc and .md files
2019-01-30 11:24:09 -05:00
Nicolas "Pixel" Noble
cabbd35014
Reformat.
2019-01-24 23:42:12 +01:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
yang-g
47e5771181
Fix grpc_tool_test
2019-01-17 10:25:41 -08:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
Hope Casey-Allen
9d2b3f35b9
Fix another problem in grpc_tool_test
2018-12-04 09:32:50 -08:00
Hope Casey-Allen
b7f283b06f
Fix bazel rbe tests
2018-12-03 16:04:30 -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
Jan Tattermusch
e5f9f5ef46
disable grpc_tool_test on msan
2018-11-14 16:40:35 +01:00
Hope Casey-Allen
e42afb0d63
Make namespace more explicit.
2018-11-07 19:48:14 -08:00
Noah Eisen
5cf95f0b52
Merge pull request #16991 from ncteisen/channelz-get-server-core
...
Channelz part 10: GetServer
2018-10-26 12:18:59 -07:00
ncteisen
693f46841a
Add GetServer to core
2018-10-24 17:31:30 -07:00
ncteisen
4fa389b137
Unifying grpc build hacks
2018-10-24 17:25:51 -07:00
Yang Gao
6bfb966271
Revert "Revert "grpc_cli json support""
2018-10-16 15:49:46 -07:00
David G. Quintas
a464b4ce39
Revert "grpc_cli json support"
2018-10-16 14:42:37 -07:00
Yang Gao
191766c0f2
Merge pull request #16766 from gfecher/master
...
grpc_cli json support
2018-10-16 09:12:58 -07:00
Feso
00bb2a035e
Reformatted code as per clang-format
2018-10-16 00:14:09 +01:00
Feso
29c131f790
Refactored based on code review
2018-10-13 19:17:26 +01:00
Feso
d74162f83a
Merge remote-tracking branch 'upstream/master'
2018-10-04 21:31:14 +01:00
Spencer Fang
e6b1edf42a
Split grpc_cli target into two targets
...
Let's have a util target that contains everything except for the CLI
front end. This way, users can depend on the util classes without
any risk of CLI flag collisions.
2018-10-04 12:00:28 -07:00
Feso
44cecbb2f7
grpc_cli json support
2018-10-03 00:50:57 +01:00
Nathan Herring
d55ef6cc03
Fix inverted logic for --call_creds=none.
...
Fixes #16622 . Follow up to change 6e3938c . Thanks to @bluecmd for pointing it out.
2018-10-01 10:13:04 +02:00
Yang Gao
8bce2a643b
Merge pull request #16299 from Capstan/cli-client-cert
...
Add flags to use client certs for cli.
2018-09-13 08:39:50 -07:00
Nathan Herring
916a686ef3
Revert "Use grpc_slice_unref_internal"
...
This reverts commit 147826a909 .
2018-09-11 09:32:06 +02:00
Nathan Herring
2d8c682cac
Revert "Missing #include"
...
This reverts commit 234fdc6fbf .
2018-09-11 09:31:39 +02:00
ncteisen
ef1a390d1d
Merge branch 'master' of https://github.com/grpc/grpc into channelz-server
2018-09-10 11:19:53 -07:00
Noah Eisen
2edfddb66f
Merge pull request #16055 from ncteisen/channelz-subchannels
...
Channelz Part 4: Add Subchannel Support
2018-09-10 11:12:52 -07:00
Nathan Herring
0cf90ae506
Merge branch 'master' into cli-client-cert
2018-09-10 10:54:30 +02:00
Yang Gao
179b4e81a0
Merge pull request #16297 from Capstan/cli-call-creds
...
Create a --call_creds flag for grpc_cli.
2018-09-09 23:20:48 -07:00
ncteisen
5946ae5eff
Merge branch 'channelz-subchannels' into channelz-server
2018-09-08 10:19:26 -07:00
ncteisen
2f76fd452e
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-09-08 10:15:51 -07:00
Noah Eisen
99680244c4
Merge pull request #16209 from ncteisen/bugprone-undefined-memory-manipulation
...
Clang Tidy: Bugprone Undefined Memory Manipulation
2018-08-31 10:07:25 -07:00
ncteisen
f8a4aae119
Fix all instances of bugprone-undefined-memory-manipulation
2018-08-29 14:24:02 -07:00
ncteisen
6076b1d798
Merge branch 'channelz-subchannels' into channelz-server
2018-08-28 12:55:40 -07:00
ncteisen
4b5b019d56
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-28 12:53:57 -07:00
Nathan Herring
234fdc6fbf
Missing #include
2018-08-21 23:28:45 +02:00
Nathan Herring
147826a909
Use grpc_slice_unref_internal
2018-08-21 23:16:22 +02:00
Josh Haberman
8a80364a9f
Cleaned up BUILD file, which fixed a dependency problem with protobuf.
2018-08-16 06:50:10 -07:00
ncteisen
3aa987a29a
Add channelz server support
2018-08-14 17:26:40 -07:00
ncteisen
c850354423
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-11 21:19:14 -04:00
Nathan Herring
c173b196d6
Add flags to use client certs for cli.
...
This allows `grpc_cli` to act with the specific client identity when using SSL. It does _not_ however set the cert when using Google Default Credentials, as it does not have the necessary options to provide a client cert and key.
2018-08-09 11:29:05 -05:00
Nathan Herring
6e3938c829
This replaces mutually-exclusive flags for a single selector flag which defines the call credentials to composite over any channel credentials. It is the call credentials version of #16204 .
...
Fixes issue #16205 .
2018-08-09 11:11:37 -05:00
Nathan Herring
e1a0f235e1
Shorten flag value to gdc.
2018-08-07 15:27:40 -07:00
Nathan Herring
3b2b237b3b
Make `google_default_credentials` be an additional channel type.
2018-08-07 09:22:33 -07:00
ncteisen
6dfc4dd49a
Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels
2018-08-02 17:25:09 -07:00
Nathan Herring
9ddb23442b
Clang format.
2018-08-01 13:08:03 +02:00
Nathan Herring
ab8b628b31
Create a --channel_creds_type flag for grpc_cli.
...
This replaces several mutually-exclusive flags for a single selector flag which defines
the base channel type. It also allows child classes to selectively override the defaults
and provide additional channel types (e.g., LOAS in the mono repo).
Fixes issue #16060 .
2018-08-01 12:41:37 +02:00
Nathan Herring
0fee91e002
More clang format
2018-07-21 08:21:18 +02:00
Nathan Herring
6f1604b1eb
Fixup: Use a more exact logic for google default credentials.
2018-07-20 15:23:04 +02:00
Nathan Herring
adb8581456
clang format
2018-07-19 23:49:02 +02:00
Nathan Herring
c7fae8812f
clang tidy
2018-07-19 23:45:46 +02:00
Nathan Herring
e1d94dfe60
GoogleDefaultCredentials use SSL under the covers; include that case.
2018-07-19 21:32:11 +02:00
Nathan Herring
8c7ce557f8
Add simple test for --ssl_target.
...
This cribs from test_credentials_provider.cc, but without using `grpc::ChannelArguments`, as the grpc CLI is responsible for setting that according to the flag.
2018-07-19 18:37:51 +02:00
Nathan Herring
3ed81c8d65
Introduce --ssl_target flag to grpc_cli.
...
This allows the client to specify the host name of the remote server for the purposes of TLS certificate validation, useful for test certificates and machines with ephemeral IP
addresses with no associated DNS entries that have been assigned TLS certificates.
2018-07-19 18:30:27 +02:00
ncteisen
bbee13661c
Add channelz subchannel support
2018-07-19 08:15:49 -07:00
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
2018-07-18 15:03:31 -07:00
ncteisen
f87b9551c2
Merge branch 'master' of https://github.com/grpc/grpc into channelz-get-top-channels
2018-07-18 07:45:59 -07:00
ncteisen
97066fd0e4
Support for GetTopChannels
2018-07-16 23:29:29 -07:00
Alexander Polcyn
f3c3c55fad
Allow choosing google default credentials in the C++ interop clients
2018-07-13 18:23:14 -07:00
ncteisen
8db7788d46
Merge branch 'master' of https://github.com/grpc/grpc into serialization
2018-06-28 00:12:02 -07:00
ncteisen
bacd625d37
Add end2end test for codegen_generic
2018-06-20 07:59:05 -07:00
ncteisen
68d4f50f77
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-19 14:00:52 -07:00
adelez
5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds""
2018-06-15 16:31:21 -07:00
ncteisen
c14e95fc63
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-15 11:13:46 -04:00
ncteisen
8e75b48bcd
Add expception for util dir
2018-06-14 14:58:09 -04:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
Nicolas Noble
43557fee0b
Revert "Add suppressions to sanitizers for bazel builds"
2018-06-14 10:49:11 -07:00
ncteisen
f92460e539
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-13 23:00:07 -07:00
Adele Zhou
4cd659505c
Add data param to grpc_cc_library
2018-06-13 15:36:28 -07:00
Yang Gao
045e4f9889
Merge pull request #13796 from y-zeng/cli_token
...
Report more error messages in grpc_cli
2018-06-08 11:41:01 -07:00
ncteisen
9a1bb05181
Build out the channelz unit test
2018-06-05 16:59:25 -07:00
ncteisen
c3c6e064b3
Add basic support for GetChannel
2018-06-05 16:59:25 -07:00
ncteisen
b69f1f6aac
Update channelz proto
2018-06-05 16:59:25 -07:00
Ara Ayvazyan
8d06d097bc
Fix broken ByteBuffer copy ctor
2018-05-22 20:47:35 -07:00
Yihua Zhang
0dcbb83420
add alts to interop tests
2018-04-20 08:50:45 -07:00
Yang Gao
c2233789bb
Merge pull request #15008 from yang-g/secure_is_not_unsecure
...
Depend on unsecure target
2018-04-11 09:17:57 -07:00
Adele Zhou
3f322e1088
Fix a memory leak
2018-04-10 17:07:33 -07:00
yang-g
ed89d71a71
Depend on unsecure target
2018-04-10 16:11:41 -07:00
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
2018-04-06 07:05:27 -07:00
ncteisen
6e22d21608
Fix small build issues
2018-03-19 15:56:28 -07:00
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f .
2018-03-19 13:22:35 -07:00
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
2018-03-19 12:05:18 -07:00
Noah Eisen
1571abdb7f
Merge pull request #13883 from ncteisen/channel-tracing
...
Channel Tracing Implementation; Part 1
2018-03-16 07:55:43 -10:00
ncteisen
b93a006d64
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-15 13:46:28 -10:00
Vijay Pai
ba46afe3e2
Delete status_test that has no coverage; replace with static_asserts
2018-03-15 11:30:59 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
ncteisen
0c6024b94d
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-07 10:17:15 -08:00
ncteisen
09703ea300
Add severity
2018-03-07 00:34:37 -08:00
ncteisen
97a3dbeb36
Move C++ to util, call it from core test
2018-03-07 00:00:14 -08:00
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
2018-03-05 16:35:10 -08:00
Carlos Valera
efce74b525
Print trailing metadata in the "grpc_cli call" command.
...
This often includes important debugging information when the RPC returns
a non-OK status.
2018-02-21 16:03:00 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Vijay Pai
32748c1b2a
Merge branch 'master' into gpr_review3
2018-02-08 10:06:23 -08:00
Carl Mastrangelo
16cca9f4c1
Check return values from ServiceReflection calls, and print a more helpful message
2018-02-06 12:29:01 -08:00
Vijay Pai
3b7ae55f77
More uses of 1-phase Call
2018-02-05 16:49:22 -08:00
Vijay Pai
4c0640ebd6
Merge branch 'master' into gpr_review3
2018-02-02 09:12:11 -08:00
Adele Zhou
2294031d6a
Fix echo.proto path under bazel
2018-02-01 11:49:22 -08:00
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
2018-01-25 20:11:38 -08:00
Yuchen Zeng
33aaffa639
clang_format
2017-12-15 11:03:50 -08:00
Yuchen Zeng
6ac62118b7
Report more error messages in grpc_cli
2017-12-14 19:12:42 -08:00
Yuchen Zeng
487ee31b9e
Address review comments
2017-12-14 14:57:38 -08:00
Yuchen Zeng
243505060a
Support access token credential in grpc_cli
2017-12-14 11:42:16 -08:00
Yuchen Zeng
5bd81fefe6
Merge pull request #13721 from y-zeng/cli_metadata
...
Add escape sequences for the grpc_cli metadata flag
2017-12-13 11:52:59 -08:00
Yuchen Zeng
2455b3d33d
Fix tsan issue
2017-12-12 11:09:39 -08:00
Yuchen Zeng
19889d79e4
Add escape sequences for the grpc_cli metadata flag
2017-12-11 20:58:12 -08:00
Sree Kuchibhotla
ca398ee74a
Merge branch 'master' into cv-wait-monotonic
2017-12-08 10:19:56 -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
Sree Kuchibhotla
54961bb9e1
Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition varialbes in linux support MONOTONIC clock type)
2017-12-04 12:50:27 -08:00
Yash Tibrewal
10f2790f7f
Merge branch 'master' into execctx
2017-11-30 10:54:42 -08:00
Vijay Pai
1fece54633
Add all tests to test/cpp/util bazel BUILD file
2017-11-28 23:39:00 -08:00
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
2017-11-28 18:06:23 -08:00
Craig Tiller
e31e200dec
Fix after merge
2017-11-13 14:04:47 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
yang-g
903981adb6
Catch out of order error code
2017-10-25 10:46:35 -07:00
Craig Tiller
8c96701cf5
Ensure that we respect requested channel args in all cases
2017-10-20 12:25:36 -07:00
Yuchen Zeng
5dd2f48e24
Fix windows build
2017-09-29 14:52:33 -07:00
Yuchen Zeng
b5eaf7734c
gRPC CLI batch mode
2017-09-29 14:51:10 -07:00
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
2017-09-21 13:12:52 -07:00
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
2017-09-14 17:55:42 +02:00
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
2017-09-07 15:18:07 -07:00
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
2017-08-30 19:18:37 +02:00
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
2017-08-04 07:48:48 -07:00
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
2017-08-02 19:44:32 -07:00
Vijay Pai
4280725bb3
Clean up grpc++_unsecure so that it doesn't require secure content anymore
2017-07-30 23:53:27 -07:00
Guantao Liu
1932a50e50
Merge pull request #11787 from guantaol/qps_driver
...
Add a new metric and enable internal credential types in QPS Driver
2017-07-18 17:46:57 -07:00
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
2017-07-18 11:07:43 -07:00