Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
2019-05-15 13:38:34 -07:00
Yash Tibrewal
f299391f15
Add GrpcLibraryInitializer
2019-05-14 10:36:49 -07:00
Yash Tibrewal
15d8fd9b23
Missing error unref
2019-05-13 16:09:48 -07:00
Yash Tibrewal
4e711fab64
Add method to validate and set service config json
2019-05-13 14:53:36 -07:00
yang-g
de57783beb
Merge with head and resolve conflict
2019-05-13 08:56:02 -07:00
Srini Polavarapu
6bc2ff1b5f
Regenerate projects
2019-05-10 10:38:59 -07:00
Karthik Ravi Shankar
af32f6ce2e
Merge branch 'master' into grpc_namespace_completion_queue
2019-05-09 14:12:52 -07:00
yang-g
7c051556a6
Rename internal class
2019-05-08 08:54:54 -07:00
yang-g
898fc0da1e
More fixes
2019-05-07 22:45:39 -07:00
yang-g
68b5260b74
Resolve comments
2019-05-07 14:33:51 -07:00
yang-g
152a7cc122
Resolve comments
2019-05-06 15:42:18 -07:00
yang-g
abd97b9170
Merge with head and resolve conflict
2019-04-30 23:01:01 -07:00
Karthik Ravi Shankar
5de22c4bd4
Merge branch 'master' into grpc_namespace_completion_queue
2019-04-30 17:46:33 -07:00
Karthik Ravi Shankar
baef4b1d60
Merge branch 'master' into grpc_namespace_channel_new
2019-04-30 17:39:48 -07:00
Karthik Ravi Shankar
549230467b
Merge pull request #18720 from grpc/revert-18717-grpc_namespace_server_revert
...
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-30 17:30:29 -07:00
Karthik Ravi Shankar
e17ce91d16
Fix make errors
2019-04-30 17:08:07 -07:00
Karthik Ravi Shankar
3a31b96ef9
Fix error from make
2019-04-30 16:39:54 -07:00
Karthik Ravi Shankar
9eec789a4d
Merge branch 'grpc_namespace_channel_new' into grpc_namespace_completion_queue
2019-04-30 15:51:49 -07:00
Karthik Ravi Shankar
e3a0c85960
Merge branch 'master' into grpc_namespace_channel_new
2019-04-30 14:30:03 -07:00
yang-g
ac3a91edf8
Support accepting external connections.
2019-04-30 12:31:34 -07:00
Karthik Ravi Shankar
6b0806eae3
more formatting changes
2019-04-30 11:22:04 -07:00
Karthik Ravi Shankar
5f6a57a4d0
Formatting issues
2019-04-26 13:08:25 -07:00
Karthik Ravi Shankar
7fc86bd62f
Fix make errors
2019-04-24 10:40:41 -07:00
Karthik Ravi Shankar
360251f196
Fix make errors
2019-04-23 18:23:16 -07:00
Karthik Ravi Shankar
38ffd8ca84
Merge branch 'master' into grpc_namespace_credentials
2019-04-23 18:22:09 -07:00
Karthik Ravi Shankar
c8a6841dfc
Merge branch 'master' into revert-18717-grpc_namespace_server_revert
2019-04-23 18:14:02 -07:00
Yang Gao
5170c613cc
Merge pull request #18784 from yang-g/message_allocator
...
Message allocator support for callback unary
2019-04-23 15:49:49 -07:00
Karthik Ravi Shankar
5274deb32b
Fix the rebase and build
2019-04-23 14:12:48 -07:00
Karthik Ravi Shankar
2049b6c2bd
Fix build errors
2019-04-23 14:04:17 -07:00
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
2019-04-23 14:03:06 -07:00
Karthik Ravi Shankar
8d2207da4d
WIP: New changes to make namespace work
2019-04-23 13:56:29 -07:00
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
2019-04-23 13:54:26 -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
yang-g
41824319fa
Resolve review comments
2019-04-23 08:54:36 -07: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
yang-g
6929cdd654
initial
2019-04-16 15:43:58 -07: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
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
2019-04-11 13:16:32 -07:00
Karthik Ravi Shankar
2554f122c1
Remove unecessary files
2019-04-11 12:06:41 -07:00
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
2019-04-11 12:04:23 -07:00
Vijay Pai
ea59977fbc
Merge pull request #18687 from vjpai/cancel_order
...
C++ Callback API: Make sure that OnCancel happens after OnStarted
2019-04-10 16:15:43 -07:00
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-10 15:04:05 -07:00
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
2019-04-10 14:15:28 -07:00
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1 , reversing
changes made to 31843787cc .
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d , reversing
changes made to dc1089a6d1 .
2019-04-10 13:54:05 -07:00
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
2019-04-10 12:14:04 -07:00
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
2019-04-10 11:32:34 -07:00
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
2019-04-10 10:22:59 -07:00
Yash Tibrewal
8e407f74b7
Merge pull request #18630 from yashykt/lamechannelinterception
...
Make C++ Channel Interceptors work for lame channels
2019-04-09 20:21:54 -07:00
Yash Tibrewal
8e195ddeb9
Merge branch 'master' into lamechannelinterception
2019-04-09 15:30:16 -07:00
Karthik Ravi Shankar
d2b2f7f5a3
Merge branch 'master' into completion-queue-fold
2019-04-09 13:44:33 -07:00
Karthik Ravi Shankar
afd602ccba
Merge branch 'master' into completion-queue-fold
2019-04-09 10:46:03 -07:00
Karthik Ravi Shankar
5a08d2aae7
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-09 08:22:37 -07:00
Karthik Ravi Shankar
53c5bf5ced
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-08 16:04:24 -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
Karthik Ravi Shankar
9875fabdd4
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-08 12:55:07 -07:00
Karthik Ravi Shankar
958f373d32
Merge branch 'master' into grpc_namespace_server
2019-04-08 12:42:37 -07:00
Karthik Ravi Shankar
0141f9a55b
Merge branch 'master' into grpc_namespace_channel_arguments
2019-04-08 11:59:28 -07:00
Karthik Ravi Shankar
9b42ab79e0
Make build fixes for bazel build :all
2019-04-04 16:40:16 -07:00
Karthik Ravi Shankar
f01997b377
Merge branch 'master' into grpc_namespace_channel_arguments
2019-04-04 16:31:42 -07:00
Karthik Ravi Shankar
c50dd23ea7
Merge branch 'master' into grpc_namespace_server
2019-04-04 15:56:09 -07:00
Karthik Ravi Shankar
dd39f78e3f
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-04 15:45:42 -07:00
Karthik Ravi Shankar
af283b3183
Merge pull request #18452 from grpc/grpc_namespace_server_credentials
...
Fold server credentials from grpc to grpc_impl namespace
2019-04-04 13:47:26 -07:00
Karthik Ravi Shankar
5b1bf21090
Merge pull request #18434 from grpc/grpc_namespace_generic_stub
...
Fold GenericStub from grpc_impl to grpc
2019-04-04 13:46:44 -07:00
Karthik Ravi Shankar
79a0be902e
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-04 10:13:18 -07:00
Karthik Ravi Shankar
0cedc27cb6
Merge branch 'master' into grpc_namespace_server_credentials
2019-04-04 10:04:30 -07:00
Karthik Ravi Shankar
23a77f7c0e
Merge branch 'master' into grpc_namespace_server
2019-04-04 09:56:51 -07:00
Karthik Ravi Shankar
9b312aa25b
Merge pull request #18600 from karthikravis/grpc_namespace_proto_server
...
Move ProtoServerReflectionPlugin from grpc to grpc_impl namespace
2019-04-03 15:33:04 -07:00
Karthik Ravi Shankar
a70b7d8d83
Merge pull request #18455 from grpc/grpc_namespace_error_details
...
Fold ErrorDetails into grpc_impl from grpc
2019-04-03 14:24:13 -07:00
Karthik Ravi Shankar
e642e175e7
Merge pull request #18374 from grpc/grpc_namespace_channel_create
...
Moving create_channel from grpc to grpc_impl
2019-04-03 13:56:19 -07:00
Karthik Ravi Shankar
99b3016336
Merge pull request #18419 from grpc/grpc_namespace_server_load_reporting
...
Move LoadReportingServiceServerBuilderOption from grpc to grpc_impl
2019-04-03 13:48:37 -07:00
Karthik Ravi Shankar
87d2d68c4f
Merge branch 'master' into grpc_namespace_server_credentials
2019-04-03 12:53:09 -07:00
Karthik Ravi Shankar
8a2807c2a6
Merge branch 'master' into grpc_namespace_server
2019-04-03 12:46:41 -07:00
Karthik Ravi Shankar
e5ea95db88
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-03 12:25:09 -07:00
Yash Tibrewal
cb6a2968fe
Make Interceptors work for lame channels
2019-04-03 11:55:04 -07:00
Yash Tibrewal
987b62e70c
Merge pull request #18605 from haon4/master2
...
Explicitly set case_insensitive_enum_parsing = true when parsing JSON
2019-04-03 11:31:05 -07:00
Hao Nguyen
e69406008f
Explicitly set case_insensitive_enum_parsing = true when parsing JSON
2019-04-01 15:48:23 -07:00
Karthik Ravi Shankar
f0d82d57e2
Merge branch 'master' into grpc_namespace_server_credentials
2019-04-01 13:59:12 -07:00
Karthik Ravi Shankar
3d6f118a5f
Merge branch 'master' into grpc_namespace_generic_stub
2019-04-01 13:52:27 -07:00
Karthik Ravi Shankar
150935aeef
Merge branch 'master' into grpc_namespace_server_load_reporting
2019-04-01 13:50:30 -07:00
Karthik Ravi Shankar
ccf8c8c16c
Merge branch 'master' into grpc_namespace_proto_server
2019-04-01 13:47:31 -07:00
Karthik Ravi Shankar
8e092b45fa
Move ProtoServerReflectionPlugin from grpc to grpc_impl namespace
2019-04-01 13:32:40 -07:00
Karthik Ravi Shankar
87c98ad3fb
Merge pull request #18379 from grpc/grpc_namespace_server_initializer
...
Move ServerInitializer to grpc_impl namespace from grpc
2019-04-01 12:48:28 -07:00
Karthik Ravi Shankar
a9a0739dc8
Merge pull request #18371 from grpc/grpc_namespace_healthserviceinterface
...
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
2019-04-01 12:28:13 -07:00
Karthik Ravi Shankar
3d5a9758fa
Merge pull request #18345 from grpc/revert-18343-revert-18220-grpc_namespace
...
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
2019-04-01 12:27:51 -07:00
Lidi Zheng
0231bf3b01
Regenerate projects
2019-03-29 16:24:50 -07:00
Karthik Ravi Shankar
a10d4825c1
Merge pull request #18372 from grpc/grpc_namespace_server_posix
...
Move server_posix from grpc to grpc_impl namespace
2019-03-29 10:18:56 -07:00
Karthik Ravi Shankar
3354f2c5a7
Merge pull request #18373 from grpc/grpc_namespace_channel_create_posix
...
Move create_channel_posix from grpc to grpc_impl namespace
2019-03-29 10:17:59 -07:00
Karthik Ravi Shankar
dcc199048f
Merge pull request #18396 from grpc/revert-18392-revert-18223-grpc_namespace_opencensus
...
Revert "Revert "Fold opencensus into grpc_impl namespace""
2019-03-29 10:09:01 -07:00
Karthik Ravi Shankar
4fe664e065
Merge pull request #18375 from grpc/grpc_namespace_channelz_service_plugin
...
Move channelz_service_plugin from grpc to grpc_impl namespace
2019-03-29 10:07:53 -07:00
Karthik Ravi Shankar
b2d9d7c8be
Merge branch 'master' into grpc_namespace_channel_create
2019-03-29 08:46:27 -07:00
Karthik Ravi Shankar
29c0aacfc0
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-03-29 08:24:54 -07:00
Vijay Pai
fb5c385208
Remove unneeded header files
2019-03-27 16:46:01 -07:00
Karthik Ravi Shankar
fc50caf725
Fix clang format issues
2019-03-27 15:03:20 -07:00
Karthik Ravi Shankar
b8713cf08e
Merge branch 'master' into grpc_namespace_server_load_reporting
2019-03-27 15:01:47 -07:00
Karthik Ravi Shankar
40440b9f9c
Merge branch 'master' into grpc_namespace_generic_stub
2019-03-27 14:42:02 -07:00
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
2019-03-27 14:33:58 -07:00
Karthik Ravi Shankar
c399349dad
Merge branch 'master' into grpc_namespace_server
2019-03-27 14:32:10 -07:00
Karthik Ravi Shankar
858e0dffe9
Merge branch 'master' into grpc_namespace_error_details
2019-03-27 14:26:16 -07:00
Karthik Ravi Shankar
8499415edd
Merge branch 'master' into grpc_namespace_channel_arguments
2019-03-27 14:21:55 -07:00
Karthik Ravi Shankar
2f2ed7228b
Fix clang_format_code.sh errors
2019-03-27 14:20:14 -07:00
Karthik Ravi Shankar
7068560b2b
Merge branch 'master' into grpc_namespace_server_credentials
2019-03-27 14:18:42 -07:00
Karthik Ravi Shankar
20f3e29d41
Merge branch 'master' into grpc_namespace_channel_create
2019-03-27 12:33:02 -07:00
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
2019-03-27 12:28:35 -07:00
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
2019-03-26 08:04:32 -07:00
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
2019-03-25 19:57:17 -07:00
Karthik Ravi Shankar
88fc2a6a52
Merge pull request #18242 from grpc/grpc_namespace_serverbuilder
...
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
2019-03-25 15:59:01 -07:00
Karthik Ravi Shankar
b2b1e57337
Fix errors from test scripts.
2019-03-25 15:55:06 -07:00
Karthik Ravi Shankar
4b0175f2c8
Fix errors from clang_format_code.sh
2019-03-25 15:53:22 -07:00
Karthik Ravi Shankar
130962490b
Make changes to fix test failures
2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar
ecfc107f32
Make more changes to remove grpc qualifier from tests
2019-03-21 18:40:00 -07:00
Karthik Ravi Shankar
4260fe1147
More fixes
2019-03-21 17:51:28 -07:00
Soheil Hassas Yeganeh
ad1b3e5094
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
This commit reaplies 509e77a5a3
2019-03-21 06:03:45 -04:00
Vijay Pai
50576179f8
Merge pull request #17978 from yashykt/interceptorcleanup1
...
Global Interceptor Registration allowed only once
2019-03-20 19:13:55 -07:00
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
2019-03-20 13:05:36 -07:00
Karthik Ravi Shankar
338b4cb5c9
Fold ErrorDetails into grpc_impl from grpc
2019-03-20 11:17:46 -07:00
Karthik Ravi Shankar
6da0ca4421
Bring ChannelArguments to grpc_impl from grpc
2019-03-20 10:38:03 -07:00
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
2019-03-20 10:00:34 -07:00
Karthik Ravi Shankar
526bf39f89
Fold GenericStub from grpc_impl to grpc
2019-03-19 12:34:30 -07:00
Karthik Ravi Shankar
f58aed2d06
Make changes to server_posix to expose method outside
2019-03-19 10:50:53 -07:00
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8 .
2019-03-19 10:43:02 -07:00
Karthik Ravi Shankar
e9593285a8
Move LoadReportingServiceServerBuilderOption from grpc to grpc_impl
2019-03-18 13:20:42 -07:00
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
2019-03-18 12:00:57 -07:00
Karthik Ravi Shankar
322e720fe6
Merge branch 'master' into grpc_namespace_serverbuilder
2019-03-18 10:39:38 -07:00
Karthik Ravi Shankar
2772f519e6
Fix errors from presubmit scripts.
2019-03-15 14:28:32 -07:00
Karthik Ravi Shankar
4a0c3b848f
Fix broken tests
2019-03-15 13:16:46 -07:00
Karthik Ravi Shankar
f66b654795
Revert "Revert "Fold opencensus into grpc_impl namespace""
2019-03-15 11:30:23 -07:00
Karthik Ravi Shankar
2bf934f97d
Revert "Fold opencensus into grpc_impl namespace"
2019-03-15 10:20:06 -07:00
Karthik Ravi Shankar
90edf47fe9
Move server_posix from grpc to grpc_impl namespace
2019-03-14 14:26:25 -07:00
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2019-03-14 12:24:25 -07:00
Vijay Pai
85f8e0f4b0
Merge pull request #18289 from vjpai/unimplemented_rpc
...
C++ callback API: properly handle and test unimplemented RPC method
2019-03-13 12:47:36 -07:00
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
2019-03-12 14:01:05 -07:00
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
2019-03-12 12:25:38 -07:00
Karthik Ravi Shankar
cc632f8121
Merge pull request #18220 from grpc/grpc_namespace
...
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
2019-03-12 11:20:27 -07:00
Karthik Ravi Shankar
276c4dc593
Merge pull request #18223 from grpc/grpc_namespace_opencensus
...
Fold opencensus into grpc_impl namespace
2019-03-08 15:45:03 -08:00
Soheil Hassas Yeganeh
ac9c67d851
Merge pull request #18229 from soheilhy/server-ctx-lock
...
Use grpc_core::RefCount for ServerContext.
2019-03-08 16:03:16 -05:00
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
2019-03-06 23:43:34 -08:00
Vijay Pai
5030177c5c
Add comment to address reviewer feedback
2019-03-06 18:17:11 -08:00
Karthik Ravi Shankar
5e5e337b03
fix from clang format code
...
Add fixes from clang_format_code.sh.
2019-03-06 10:21:37 -08:00
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
2019-03-06 10:12:23 -08:00
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
2019-03-04 17:01:14 -08:00
Karthik Ravi Shankar
b606cad6cc
Fold opencensus into grpc_impl namespace
...
Moving opencensus into grpc_impl namespace..
2019-03-04 15:47:37 -08:00
Vijay Pai
05d8ddfc6e
Support callback-based generic service
2019-03-04 13:13:12 -08:00
Soheil Hassas Yeganeh
509e77a5a3
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
2019-03-04 14:17:46 -05:00
Soheil Hassas Yeganeh
059e104475
Use grpc_core::RefCount for ServerContext.
2019-03-02 23:25:18 -05:00
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
2019-02-27 16:53:23 -08:00
Vijay Pai
2eb25c871e
Avoid build errors
2019-02-26 03:08:06 -08:00
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
2019-02-25 00:48:11 -08:00
Vijay Pai
bf2b0e5220
Merge pull request #18117 from vjpai/use_result
...
Avoid unused result warning
2019-02-20 23:21:13 -08:00
Vijay Pai
301ed88a43
Avoid unused result warning
2019-02-20 21:39:02 -08:00
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
2019-02-20 17:58:30 -08:00
Nguyen Hai Truong
9cf00ed80b
Reformat some link and fix typos
...
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-20 23:19:33 +07:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
Nicolas "Pixel" Noble
5847c3a87a
Reformat.
2019-02-14 20:05:59 +01:00
Nicolas "Pixel" Noble
12b0db3e57
Folding CompletionQueue and ServerCompletionQueue.
2019-02-14 20:01:14 +01:00
Nicolas "Pixel" Noble
de332cfcee
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 22:11:47 +01:00
Yash Tibrewal
73353ad281
Merge branch 'master' into interceptorcleanup1
2019-02-13 12:47:47 -08:00
hcaseyal
eecd983302
Merge pull request #18025 from soheilhy/callback-sync-cq
...
Reorder code to set num_frequently_polled_cqs correctly.
2019-02-13 12:39:11 -08:00
Srini Polavarapu
f7f6861720
Merge pull request #18033 from srini100/master
...
Bump master to v1.20.x and pick "godric" for that release
2019-02-13 12:17:12 -08:00
Nicolas "Pixel" Noble
0c19be2fc8
Fixing cronet
2019-02-13 20:12:13 +01:00
Nicolas "Pixel" Noble
39d3b7335c
Missed a spot.
2019-02-13 19:17:18 +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
田欧
06c8294fb5
Merge branch 'master' into use_cpp11_for
2019-02-13 16:36:43 +08:00
Srini Polavarapu
b0efc103e3
Regenerate projects
2019-02-12 21:07:42 -08:00
Soheil Hassas Yeganeh
37c1f0bd54
Reorder code to set num_frequently_polled_cqs correctly.
...
When there num_frequently_polled_cqs is non-zero (aka hybrid server),
we create non-polling CQs for the sync methods. But, since we
increase num_frequently_polled_cqs for callback methods
after creating the sync CQs, the sync CQs would not detect
a hyprid server, and will create a polling CQ.
This commit reorders the logic, so that we increment
num_frequently_polled_cqs upon detecting a callback service.
This lowers the context switches by double digit percentage
when using callback API.
2019-02-12 23:04:41 -05:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
2019-02-12 11:11:43 -05:00
Yash Tibrewal
cddb5519f2
Add a test only method to reset global interceptor
2019-02-08 15:57:29 -08:00
Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
2019-02-07 19:36:51 -08:00
Yash Tibrewal
e5eb3f8019
Merge pull request #17934 from yashykt/compressionlevel
...
Default compression level quick fix
2019-02-06 11:46:19 -08:00
Yash Tibrewal
84a537b1d1
Default compression level quick fix
2019-02-05 14:22:47 -08:00
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
2019-02-05 14:07:40 -08:00
Vijay Pai
92d37b1273
SOFT_MAXIMUM is supposed to be per-server, not per-method
2019-02-02 09:14:05 -08:00
Vijay Pai
8521c0394b
Address optional reviewer comments
2019-02-01 15:21:13 -08:00
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
2019-02-01 13:44:50 -08:00
Yash Tibrewal
3a2cfe50ec
Rever copyright changes
2019-01-28 16:18:49 -08:00
Yash Tibrewal
786598a6ff
Merge branch 'master' into interceptorcqavalanching
2019-01-28 11:54:39 -08:00
Juanli Shen
6c543919ed
Merge pull request #17707 from kakshay21/akshay-fix-warning
...
Fix warning
2019-01-26 21:06:11 -08:00
Kumar Akshay
564be999de
Fix warning
...
Fix clang format
2019-01-26 18:39:23 +05:30
Vijay Pai
7a164229db
Address reviewer comments
2019-01-25 10:25:08 -08:00
Nicolas "Pixel" Noble
cabbd35014
Reformat.
2019-01-24 23:42:12 +01:00
Yash Tibrewal
4dcb14ec9e
Fix codegen_test_minimal
2019-01-24 13:05:05 -08:00
Nicolas "Pixel" Noble
dffbe4a1eb
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-01-23 21:40:25 +01:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
2019-01-23 11:21:50 -08:00
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
2019-01-17 16:22:30 -07:00
Juanli Shen
778be11865
Merge pull request #17629 from AspirinSJL/clean_sc_args
...
Remove filters from subchannel args
2019-01-07 20:11:40 -08:00
Yash Tibrewal
6e5eb4e5a3
Merge branch 'master' into failhijackedrecv
2019-01-04 14:03:37 -08:00
Juanli Shen
03431b4f69
Remove filters from subchannel args
2019-01-03 16:18:01 -08:00
Sanjay Pujare
94d5587643
Regenerate projects
2019-01-03 15:35:20 -08:00
Yash Tibrewal
24e37e249a
Merge branch 'master' into failhijackedrecv
2018-12-26 15:10:41 -08:00
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
2018-12-20 15:37:30 -08:00
easy
8279777167
Destruct CensusContext to avoid leaking memory.
...
Otherwise, the placement-new leaks context -> span_ -> impl_ which is
a std::shared_ptr.
2018-12-19 12:37:39 +11:00
Nicolas Noble
5748af6e18
Merge pull request #17468 from nicolasnoble/grpc_namespace
...
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-13 15:22:05 -08:00
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Nicolas "Pixel" Noble
d550af373c
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-12 16:48:32 +01:00
ncteisen
c7f7db65e0
Add test and fix bug
2018-12-11 11:28:12 -08:00
Yang Gao
b590167cf2
Merge pull request #17435 from yang-g/health_service_shutdown
...
Add a Shutdown call to HealthCheckServiceInterface
2018-12-07 13:15:30 -08:00
yang-g
2246607ded
Review comments
2018-12-07 08:54:47 -08:00
yang-g
f1f557bc43
Add a Shutdown call to HealthCheckServiceInterface
2018-12-06 16:16:58 -08:00
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
2018-12-06 15:51:31 -08:00
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
2018-11-30 16:14:21 -08:00
Vijay Pai
ea1156da3f
Stop exposing streaming object class
2018-11-30 04:13:40 -08:00
Vijay Pai
d7eb26648d
Client callback streaming
2018-11-30 04:13:40 -08:00
Yash Tibrewal
b32d8f5d4d
Merge pull request #17219 from yashykt/cleanup
...
Make Pluck use the changes made in FinalizeResult
2018-11-20 15:23:27 -08:00
Yang Gao
e4e564679b
Merge pull request #17154 from liutongxuan/master
...
g_default_client_callbacks shouldn't be global variable
2018-11-20 14:10:34 -08:00
Muxi Yan
f3e4ae633e
Regenerate projects
2018-11-19 15:24:53 -08:00
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
2018-11-15 16:49:43 -08:00
Yash Tibrewal
a9bee9b7ed
Make Pluck use the changes made in FinalizeResult
2018-11-14 17:48:35 -08:00
Vijay Pai
0e29d7b9bc
Properly clear metadata and other structs when reusing ServerContext
2018-11-13 12:44:56 -08:00
Yash Tibrewal
699c10386d
Add method to fail recv msg for hijacked rpcs
2018-11-09 19:43:00 -08:00
tongxuan.ltx
c21393e553
g_default_client_callbacks shouldn't be global variable
...
In tensorflow, RPC client thread doesn't active release,
rely on process to cleanup. If process have already
cleanup the global variable(g_default_client_callbacks),
after that client issue a RPC call which contains the ClientContext,
then once ClientContext destructor called,
pure virtual functions call error is reported.
2018-11-09 12:34:59 +08:00
Yang Gao
ed6ea2cf7d
Merge pull request #17151 from arjunroy/grpc_memleak_fix
...
Fixed intermittent CPP sync server shutdown leak.
2018-11-08 15:57:48 -08:00
Vijay Pai
926b2941ab
Pre-request 32 callbacks of each method
2018-11-08 12:11:57 -08:00
Arjun Roy
bc3d6d21b7
Set call_ member variable to null after freeing.
2018-11-07 18:08:51 -08:00
Arjun Roy
843c8d9e75
Fixed intermittent CPP sync server shutdown leak.
...
Specifically: if a request handling thread is in flight but scheduled
out when shutdown is called on the server, but it has already passed
the shutdown check, then when it resumes it will add a grpc_call to
the completion queue that is leaked. We fix this by explicitly freeing
such calls after all worker threads have shutdown.
To manifest the leak, run the end2end::ClientCancelsRequestStream
test repeatedly on the unpatched server implementation. About 0.5% of
the time, the leak will manifest.
2018-11-07 17:39:07 -08:00
Vijay Pai
5cdf7a0cf7
Merge pull request #16805 from g-easy/ocplugin
...
GenerateServerContext: Don't use a parent context if it's invalid.
2018-11-07 11:50:44 -08:00
Yash Tibrewal
193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
...
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
2018-11-06 11:49:17 -08:00
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
2018-11-06 11:20:50 -08:00
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
2018-11-05 15:03:57 -08:00
Yash Tibrewal
f8561952e9
Don't use default capture
2018-11-05 12:15:56 -08:00
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
2018-11-02 15:56:57 -07:00
Yash Tibrewal
3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
...
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
2018-11-01 16:14:40 -07:00
Yash Tibrewal
fd88dcaf55
Add cancellation notification
2018-11-01 11:58:46 -07:00
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
2018-10-31 15:29:26 -07:00
Vijay Pai
932abf48a3
Address reviewer comments.
2018-10-31 01:02:07 -07:00
Vijay Pai
2f47137a6e
Add support for IsCancelled check
2018-10-30 23:15:59 -07:00
Vijay Pai
47d0d5bf1f
Merge branch 'master' into server_callback
2018-10-30 12:29:35 -07:00
Yash Tibrewal
0390b29e15
Register global interceptors functionality
2018-10-30 02:43:01 -07:00
Yash Tibrewal
3c1ca6bf39
Merge pull request #17034 from yashykt/interceptorcleanup
...
Get ClientContext included with ChannelInterface, and slight more cle…
2018-10-30 00:12:55 -07:00
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
2018-10-29 13:41:25 -07:00
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
2018-10-29 13:15:29 -07:00
Vijay Pai
371b1d99d5
Add call as param to MethodHandler::Deserialize to allow arena use
2018-10-29 02:10:00 -07:00
Yash Tibrewal
01313976e1
Merge pull request #16842 from yashykt/interceptors
...
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
2018-10-26 15:15:48 -07:00
ncteisen
bc44c5e353
Add GetServer to channelz cpp
2018-10-26 12:58:04 -07:00
Yash Tibrewal
cc21d32c77
Some cleanup
2018-10-26 00:13:55 -07:00
Yash Tibrewal
312feb4202
Adding generic rpc and unimplemented rpc test for server interceptors
2018-10-25 21:43:49 -07:00
Yash Tibrewal
3896dabb85
Merge branch 'master' into interceptors
2018-10-25 19:50:10 -07:00
Yash Tibrewal
a094b7b312
Added server async tests
2018-10-25 19:24:30 -07:00
ncteisen
43df9fda64
un duplicate code
2018-10-25 09:46:34 -07:00
ncteisen
4fa389b137
Unifying grpc build hacks
2018-10-24 17:25:51 -07:00
ncteisen
482641501c
Revert "Revert "Refactor Channelz Service to Support Internal Build""
...
This reverts commit 2eafaccba6 .
2018-10-24 17:22:22 -07:00
Yash Tibrewal
281de1bb30
Solve memory leak due to double setting of set_server_rpc_info
2018-10-24 15:54:08 -07:00
Noah Eisen
2eafaccba6
Revert "Refactor Channelz Service to Support Internal Build"
2018-10-24 15:44:50 -07:00
Mark D. Roth
496d0676c8
Merge pull request #16507 from markdroth/health_checking_client
...
Health checking client
2018-10-24 13:17:01 -07:00
Mark D. Roth
f85fd026e3
Client-side health checking support.
2018-10-24 12:29:04 -07:00
Vijay Pai
45dfbe097e
Arena-allocate the ServerContext::CompletionOp
2018-10-24 02:11:50 -07:00
Yash Tibrewal
62280b42c7
Add client streaming, server streaming and bidi streaming tests
2018-10-23 21:08:39 -07:00
ncteisen
97134a69be
Refactor to support internal build
2018-10-22 17:08:31 -07:00
Yash Tibrewal
b358ef85dc
Merge branch 'master' into interceptors
2018-10-22 10:39:27 -07:00
thinkerou
d8d9d78e5e
fix conflict
2018-10-22 23:38:54 +08:00
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
2018-10-22 02:42:03 -07:00
Yash Tibrewal
3a17f5b05e
Working on tests
2018-10-21 23:06:21 -07:00
Vijay Pai
ce4bd108ea
Fix CallOpSet copy/assignment to reset cq_tag
2018-10-19 17:17:34 -07:00
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
2018-10-18 22:43:49 -07:00
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
2018-10-18 16:07:00 -07:00
Yash Tibrewal
d042a5acf1
some tests fail
2018-10-17 22:05:48 -07:00
Yash Tibrewal
0b785ae8cf
Remove unneeded file
2018-10-17 14:37:35 -07:00
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
2018-10-17 12:51:17 -07:00
Yash Tibrewal
af621c7705
Add method to register server creators
2018-10-17 12:32:53 -07:00
Mark D. Roth
231b863922
address clang-tidy problems
2018-10-17 09:29:05 -07:00
Yash Tibrewal
b232bacf27
Starting on server interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
2018-10-16 14:10:48 -07:00
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
2018-10-16 14:10:30 -07:00
Yash Tibrewal
6f05a711e6
Adding a test
2018-10-16 14:10:17 -07:00
Yash Tibrewal
63bdf4e236
More changes for client interception
2018-10-16 14:10:02 -07:00
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
2018-10-16 14:09:34 -07:00
Mark D. Roth
a424d96997
clang-format
2018-10-15 14:57:20 -07:00
Mark D. Roth
f4e65787b6
Merge remote-tracking branch 'upstream/master' into health_checking_service
2018-10-15 13:12:26 -07:00
Mark D. Roth
0b085a1f05
Fix tsan problem at startup.
2018-10-15 13:11:55 -07:00
ncteisen
0b0f21b3d2
C++ Channelz GetServerSockets Support
2018-10-09 12:07:13 -07:00
ncteisen
9b0223f1c5
Add skeleton listen socket support
2018-10-09 12:06:46 -07:00
Stanley Cheung
e5ce1e36e6
Regenerate projects
2018-10-08 15:50:50 -07:00
easy
f551f475f0
GenerateServerContext: Don't use a parent context if it's invalid.
2018-10-08 20:43:06 +11:00
Yash Tibrewal
130eeeaeb9
Merge branch 'master' into interceptors_initial
2018-10-02 14:49:17 -07:00
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
2018-09-30 22:13:44 -07:00
Yash Tibrewal
b741edf37e
Error fixes
2018-09-27 17:34:19 -07:00
Noah Eisen
a9f8bcce11
Merge pull request #16725 from ncteisen/channelz-cpp
...
Channelz++ Part 4: Socket support
2018-09-27 14:13:17 -07:00
ncteisen
038e760a7d
Channelz C++ Socket support
2018-09-27 14:20:57 -05:00
Soheil Hassas Yeganeh
80ce1865d7
Make SliceFromArray() static in channel_cc.cc.
...
Also, use `context->authority_` instead of `context->authority()`
for consistency.
2018-09-27 11:27:15 -04:00
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
2018-09-26 19:25:30 -07:00
Mark D. Roth
4d9ad11653
Simplify call state logic, create non-polling CQ, and some cleanup.
2018-09-26 14:16:18 -07:00
Soheil Hassas Yeganeh
369cfe118c
Use SliceFromCopiedString() for host name.
...
This is to address Yang's review comment.
2018-09-25 21:59:15 -04:00
Soheil Hassas Yeganeh
c1a1d66864
Avoid allocating temporary strings in Channel::CreateCall().
...
Add `SliceFromArray()` which takes a `char*` instead of
`const string&`, to save string allocations for copying from a `char *`.
Use the new API to eliminate two string allocations and copies per call for
method and host names.
release-note: no
2018-09-25 17:50:45 -04:00
Mark D. Roth
be1ce0c4cc
Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
...
This reverts commit de11358660 , reversing
changes made to 107d10ea73 .
2018-09-25 11:42:57 -07:00
Vijay Pai
9e6511ae2e
Make the core callback interface API so that it can be used in generated code
2018-09-19 23:57:56 -07:00
Vijay Pai
f6e7b778c4
Merge pull request #16655 from vjpai/callback_tidy
...
Callback API: Fix clang-tidy concerns
2018-09-19 12:58:02 -07:00
Vijay Pai
46429a2a6a
Merge pull request #16624 from vjpai/callback_alarms
...
EXPERIMENTAL: Add callback-based alarms
2018-09-19 12:06:11 -07:00
Vijay Pai
deb3126611
Fix clang-tidy concerns
2018-09-19 11:29:11 -07:00
Vijay Pai
0e5b2a7946
Merge pull request #16638 from vjpai/callback_exceptions
...
EXPERIMENTAL: Catch exceptions in user callbacks
2018-09-18 11:09:11 -07:00
Juanli Shen
ef60c57dd5
Merge pull request #16459 from arfaian/master
...
Fix compilation error due to missing absl qualification.
2018-09-17 10:59:55 -07:00
Vijay Pai
73d89a66f9
Catch exceptions in user callbacks
2018-09-14 16:56:19 -07:00
Vijay Pai
db01bf793a
Add callback-based alarms
2018-09-13 09:54:41 -07:00
Vijay Pai
3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
...
EXPERIMENTAL: C++ generic client-side unary callback API
2018-09-12 09:03:49 -07:00
Vijay Pai
0382d06248
Don't use cq_tag on Server CallOpSet's yet
2018-09-11 23:47:40 -07:00
Noah Eisen
71aa60265c
Merge pull request #16360 from ncteisen/channelz-cpp-server
...
Channelz++ Part 3: GetServers Support
2018-09-11 12:01:17 -07:00
Vijay Pai
20778b0c46
Address reviewer comments
2018-09-11 09:14:57 -07:00
Mark D. Roth
42d9becd91
Revert "Second attempt: Implement Watch method in health check service."
2018-09-10 14:06:52 -07:00
ncteisen
6ef3b0dc2b
Merge branch 'master' of https://github.com/grpc/grpc into channelz-cpp-server
2018-09-10 14:03:40 -07:00
ncteisen
722bc69966
Merge branch 'master' of https://github.com/grpc/grpc into channelz-server
2018-09-10 12:28:21 -07:00
ncteisen
483537671c
Merge branch 'channelz-subchannels' into channelz-cpp
2018-09-08 10:20:00 -07:00
ncteisen
5946ae5eff
Merge branch 'channelz-subchannels' into channelz-server
2018-09-08 10:19:26 -07:00
ncteisen
4205b97dd9
reviewer feedback
2018-09-07 16:02:08 -07:00
Mark D. Roth
7975c6ad98
Fix internal build breakage from #16351 .
2018-09-05 10:33:38 -07:00
Mark D. Roth
6d2c8f8072
Revert "Merge pull request #16512 from grpc/revert-16351-health_checking_service"
...
This reverts commit 4ee0f4c790 , reversing
changes made to 5ee9b5e7b5 .
2018-09-05 10:27:54 -07:00
Noah Eisen
4e6ed86a04
Merge pull request #16407 from ncteisen/lazy-metadata
...
Lazily Fill Metadata Map
2018-08-31 12:05:16 -07:00
Vijay Pai
5474e92292
Allocate using call arenas
2018-08-31 10:11:38 -07:00
Vijay Pai
6b6bdbbb76
Address reviewer and clang-tidy comments
2018-08-30 15:46:27 -07:00
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
2018-08-30 15:46:27 -07:00
Juanli Shen
14a858123d
Revert "Implement Watch method in health check service."
2018-08-29 21:36:41 -07:00
ncteisen
72ac3d0cb1
Merge branch 'channelz-server' into channelz-cpp-server
2018-08-28 17:17:16 -07:00
ncteisen
e165579d3e
Subchannel support to C++
2018-08-28 17:16:17 -07:00
ncteisen
743d40d635
Lazily fill metadata map
2018-08-28 17:00:20 -07:00
ncteisen
6076b1d798
Merge branch 'channelz-subchannels' into channelz-server
2018-08-28 12:55:40 -07:00
Mark D. Roth
4d985efe19
Merge pull request #16351 from markdroth/health_checking_service
...
Implement Watch method in health check service.
2018-08-28 11:59:22 -07:00
Mark D. Roth
99ce3e19af
Implement Watch method in health check service.
2018-08-28 08:51:52 -07:00
Juanli Shen
8ceb27a324
Regenerate projects
2018-08-27 14:27:55 -07:00
Arian Arfaian
99e09fe821
Fix compilation error due to missing absl qualification.
2018-08-25 09:50:58 -07:00
Vijay Pai
ccc6ee3db0
Merge pull request #15984 from g-easy/hdrs
...
Move GetSpanFromServerContext() to public header.
2018-08-20 17:03:03 -07:00
Vijay Pai
472b9327c0
Merge pull request #16374 from vjpai/census
...
Move a census file from src/cpp to src/core since core depends on it
2018-08-17 16:38:33 -07:00
Yash Tibrewal
b22c3009d4
Fix typo
2018-08-16 18:15:26 -07:00
Yash Tibrewal
d9f4c76356
Add a nullptr check
2018-08-16 16:26:42 -07:00
Vijay Pai
381bcab8bd
Move a file from src/cpp to src/core since core depends on it
2018-08-16 15:44:19 -07:00
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
2018-08-16 08:58:26 -07:00
Vijay Pai
8a86f5329e
Merge pull request #16356 from vjpai/exhaustion
...
C++ sync server: Return status RESOURCE_EXHAUSTED if no thread quota available
2018-08-15 19:52:23 -07:00
Vijay Pai
9c32dab63d
Expand comment based on reviewer feedback
2018-08-15 14:46:51 -07:00
ncteisen
70ef911343
Add C++ support for GetServers
2018-08-15 12:05:58 -07:00
ncteisen
408f64c3a1
Merge branch 'channelz-server' into channelz-cpp-server
2018-08-15 11:11:57 -07:00
ncteisen
f3c600f335
Fix up C++ test to be more stable
2018-08-15 10:56:32 -07:00
Vijay Pai
d9781df474
Address reviewer comments
2018-08-15 10:13:22 -07:00
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
2018-08-14 16:23:21 -07:00
ncteisen
6321a53e4a
fix typo
2018-08-14 15:01:28 -07:00
ncteisen
f025b6ed89
Change thread default to INT_MAX
2018-08-14 14:42:00 -07:00
ncteisen
0bf39e2a13
Subchannel support to C++
2018-08-13 13:56:36 -07:00
Sree Kuchibhotla
f63b51be86
Merge branch 'master' into rq-threads-2
2018-08-09 12:13:41 -07:00
Junhao Li
5cb99c9592
fix format
2018-08-09 00:51:17 -04:00
Junhao Li
b9decfb35d
include cmath to fix gcc8 compilation error
...
This fix resolves the following compilation error on GCC8.1.1:
ERROR: /home/junhao/tools/grpc/BUILD:1350:1: C++ compilation of rule '//:grpcpp_server_load_reporting' failed (Exit 1)
src/cpp/server/load_reporter/util.cc:31:12: error: no member named 'isnormal' in namespace 'std'
if (std::isnormal(cost_value)) {
~~~~~^
1 error generated.
2018-08-08 14:31:52 -07:00
Mark D. Roth
60069baa6a
Merge pull request #16225 from markdroth/reset_connection_backoff
...
Reset connection backoff
2018-08-07 08:09:59 -07:00
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
2018-08-06 14:46:53 -07:00
Sree Kuchibhotla
a2a64e5ad3
Fix default argument(put it in header instead of source file)
2018-08-06 11:58:20 -07:00
Sree Kuchibhotla
9ce673f861
Make resource quota argument optional to the Server constructor
2018-08-01 12:12:46 -07:00
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
2018-08-01 11:22:40 -07:00
yang-g
d6ef707422
Add more filter priority levels
2018-08-01 11:22:32 -07:00
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
2018-07-31 21:12:45 -07:00
Sree Kuchibhotla
9b84d7fe21
Merge branch 'master' into rq-threads
2018-07-30 10:09:47 -07:00
Sree Kuchibhotla
6eac5e41b1
std::max is not available on some windows platforms
2018-07-27 17:23:02 -07:00
Sree Kuchibhotla
c2a22a1ab8
Address core review comments
2018-07-27 16:19:03 -07:00
Sree Kuchibhotla
8f39834dd1
Change the default max threads to something more reasonable
2018-07-25 10:36:46 -07:00
Sree Kuchibhotla
404d4f3a4d
Merge branch 'master' into rq-threads
2018-07-24 16:37:42 -07:00
Sree Kuchibhotla
b95772eeb9
Add Tests in Core and C++ and fix a few related bugs in thread_manager.cc
2018-07-24 16:35:25 -07:00
Yihua Zhang
acc6ba0c24
Add C++ wrapper for local credentials
2018-07-24 12:00:49 -07:00
Srini Polavarapu
29c9e0477b
Merge pull request #16067 from srini100/master
...
Bump version to v1.15.0-dev
2018-07-23 12:41:16 -07:00
Sree Kuchibhotla
7b8be4d6fd
Merge branch 'master' into rq-threads
2018-07-23 10:52:27 -07:00
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
2018-07-20 15:10:16 -07:00
ncteisen
18a9d7d57c
reviewer feedback
2018-07-20 09:29:05 -07:00
ncteisen
b47214952b
reviewer feedback
2018-07-19 15:19:43 -07:00
ncteisen
6104e4f33b
Move ChannelzServicePlugin to public, experimental
2018-07-19 14:59:10 -07:00
Srini Polavarapu
8c9af7464c
Regenerate projects
2018-07-19 09:52:56 -07:00
ncteisen
c194528844
Adds C++ Channelz Service
2018-07-18 18:24:19 -07:00
Sree Kuchibhotla
67bb4e3030
Initial scaffolding
2018-07-17 10:25:33 -07:00
Juanli Shen
be40b0d3a8
Add server load reporting service
2018-07-13 19:52:59 -07:00
easy
1b6e8514a9
Move GetSpanFromServerContext() to public header.
2018-07-11 14:55:46 +10:00
Juanli Shen
86aa172d9b
Merge pull request #15919 from AspirinSJL/reorder
...
Reorder steps in ServerBuilder::BuildAndStart()
2018-07-06 22:08:34 -07:00
Juanli Shen
1f965159dd
Reorder steps when starting a server
2018-06-30 22:54:42 -07:00
Kerrick Staley
4fb53784fb
Fix Bazel build instructions
...
See https://groups.google.com/d/msg/grpc-io/ljBk9Z_QyuQ/3i-obzb3CAAJ
2018-06-25 08:56:19 -07:00
Juanli Shen
f5f1d57d7a
Add load reporting filter
2018-06-22 10:00:48 -07:00
Juanli Shen
291bbc7014
Add load reporter
2018-06-21 13:21:02 -07:00
Jan Tattermusch
f389e5267a
overhaul of top-level .md files
2018-06-20 20:35:04 +02:00
Vizerai
c0d251a10e
Fixing trailing metadata ops.
2018-06-19 16:21:26 -07:00
Mark D. Roth
9e3e64604d
Merge pull request #15274 from JackOfMostTrades/verify-callback-core
...
Create verify_peer_options when creating ssl credentials to support a peer verification callback
2018-06-19 10:00:16 -07:00
Jim King
01cbab60f3
Merge pull request #15070 from Vizerai/filter_port
...
Adding opencensus grpc plugin with bazel support.
2018-06-18 17:01:26 -07:00
Noah Eisen
bd6ac0f9d5
Merge pull request #15681 from ncteisen/even-more-clang
...
Even More Clang Tidy: performance-*
2018-06-15 10:43:49 -04:00
Srini Polavarapu
d6616280d3
Merge pull request #15694 from srini100/bump-to-v1.14
...
Bump master to v1.14
2018-06-14 19:57:13 -07:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
Ian Haken
68eff58df6
Create verify_peer_options when creating ssl credentials in order to expose a verification callback option.
...
These options are not yet exposed to languages outside of core.
2018-06-12 12:59:37 -07:00
David Garcia Quintas
32c04931db
Merge branch 'master' of github.com:grpc/grpc into nanopb_build_cleanup
2018-06-11 15:52:42 -07:00
Srini Polavarapu
c79c156307
Regenrate projects
2018-06-08 17:01:18 -07:00
Yash Tibrewal
bbbcc451df
Merge pull request #15394 from yashykt/maxmsglen
...
Allow unlimited as the max receive message length
2018-06-07 19:16:05 -07:00
Yash Tibrewal
3052cff753
Change comments
2018-06-07 14:03:00 -07:00
David Garcia Quintas
bc9573d7ac
back to using quotes for nanopb includes
2018-06-04 13:49:03 -07:00
David Garcia Quintas
087fe278ed
quotes to angle brackets for nanopb includes
2018-06-01 16:09:42 -07:00
David Garcia Quintas
73dec497af
clang-format
2018-06-01 15:53:35 -07:00
David Garcia Quintas
00e045dbb2
Fix the inclusion "third_party/nanopb/..." to simply "..."
2018-06-01 15:44:03 -07:00
Vizerai
e501a3d3fd
Merge branch 'master' of https://github.com/Vizerai/grpc into filter_port
2018-05-29 10:45:32 -07:00
Vizerai
cb2767143c
update
2018-05-24 22:39:23 -07:00
Ara Ayvazyan
8d06d097bc
Fix broken ByteBuffer copy ctor
2018-05-22 20:47:35 -07:00
Vizerai
60086793e0
update
2018-05-22 16:03:16 -07:00
thinkerou
fb38c259c5
fix conflict
2018-05-16 23:47:02 +08:00
Yash Tibrewal
efee8f227d
Allow unlimited as the max receive message length
2018-05-15 16:39:16 -07:00
Vizerai
41e4cedb70
Adding opencensus grpc plugin.
...
Rebasing to merge commits.
2018-05-10 11:41:15 -07:00
Mehrdad Afshari
2d43a45ad1
Regenerate projects
2018-05-02 22:49:52 -07:00
Juanli Shen
a0aab7ebcc
Add load data store
2018-05-01 10:46:44 -07:00
Yihua Zhang
fe2fa0c1c8
Add C++ experimental API extensions for ALTS C stack
2018-04-16 15:11:32 -07:00
Noah Eisen
52d4c7c8b6
Ensure lib is initialize for ByteBuffer use
2018-04-06 12:42:33 -07:00
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
2018-04-06 07:05:27 -07:00
Mehrdad Afshari
90cfc8ed57
Regenerate projects
2018-04-04 14:04:11 -07:00
Vijay Pai
a4da2d2a54
Eliminate existence of SneakyCallOpSet, some server cleanup
2018-03-22 19:09:01 -07:00
Nicolas Noble
129f38a8a5
Merge pull request #14517 from makdharma/extensible_api
...
Remove "final" keyword and make methods protected.
2018-03-13 09:58:59 -07:00
makdharma
606742d30c
replaced loop with range expression
2018-03-12 14:30:51 -07:00
makdharma
d10a885922
removed unnecessary "virtual"
...
Removed unnecessary "virtual" keyword from CompletionQueue::Next.
Reverted two files that no longer need to be changed.
2018-03-12 10:12:01 -07:00
Mark D. Roth
3d8b32d8b3
Convert byte_stream API to C++.
2018-03-09 13:25:40 -08:00
makdharma
9cd0099a53
variable init sequence fix
2018-03-09 09:42:22 -08:00
Vijay Pai
02b64f5c91
Fix a thread name
2018-03-06 10:00:30 -08:00
Vijay Pai
809cf96c56
Name needs to only be alphanumeric+underscore+dash
2018-03-05 23:04:57 -08:00
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
2018-03-05 16:35:10 -08:00
Vijay Pai
162ae4f50c
Remove std::thread, keep everything else unchanged ( #13 )
2018-03-02 16:16:04 -08:00
makdharma
e1a7283dd3
moved Next implementation to CC file.
2018-02-26 14:55:56 -08:00
Vijay Pai
8b05d0284f
Merge branch 'master' into 2phase_thd
2018-02-24 10:37:13 -06:00
makdharma
8065000697
Remove "final" keyword and make methods protected.
...
This adds extensibility to the API and makes custom implementation
of the server possible.
2018-02-23 14:51:46 -08:00
Mehrdad Afshari
9073ea03ef
Regenerate projects
2018-02-22 22:21:33 -08:00
Vijay Pai
a8453a20d8
Merge branch 'master' into 2phase_thd
2018-02-21 10:24:15 -08:00
Muxi Yan
9614395928
Fix grpc++->grpcpp leftover files
2018-02-20 21:10:18 -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
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
2018-02-15 14:49:34 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Srini Polavarapu
c7cc3f9692
Merge pull request #14394 from srini100/master
...
Remove redundant build instructions
2018-02-10 19:41:00 -08:00
Srini Polavarapu
89f70d163b
Merge branch 'master' of https://github.com/grpc/grpc into docfix
2018-02-09 10:10:14 -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
Srini Polavarapu
3cca82534d
Consolidate build instructions in INSTALL.md and src/cpp/README.md
2018-02-08 11:53:35 -08:00
Vijay Pai
239b7d4b0b
Merge branch 'master' into gpr_review
2018-02-08 11:08:41 -08:00
Vijay Pai
73a50abd1d
Merge pull request #14286 from dgquintas/fix_compresion_alg_accessors
...
Fix compression algorithm accessors
2018-02-04 23:39:07 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
David Garcia Quintas
a21ab2ba29
Fix compression algorithm accessors
2018-02-01 16:24:00 -08:00
Vijay Pai
fe75ef5b2d
clang-format
2018-01-21 21:04:38 -08:00
Vijay Pai
e1e7042919
Restructure to simplify, harden, and avoid forward declaration
2018-01-21 21:04:38 -08:00
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
2018-01-21 21:03:56 -08:00
Mehrdad Afshari
43884047c9
Regenerate projects
2018-01-19 14:25:15 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
2018-01-12 10:16:22 +01:00
Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
2018-01-10 14:40:40 -08:00
Vijay Pai
92e267ec50
Add needed header
2018-01-10 18:45:08 +00:00
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
2018-01-08 10:02:38 -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
10f2790f7f
Merge branch 'master' into execctx
2017-11-30 10:54:42 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
ncteisen
aa358d5e43
Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c
2017-11-28 14:12:25 -08:00
Mehrdad Afshari
14e96f9ae8
Bump 1.8.0-dev to 1.9.0-dev
2017-11-27 17:14:15 -08:00
ncteisen
61c4d6b648
Fix stats
2017-11-17 14:08:57 -08:00
ncteisen
adbfbd5977
Remove all extern C
2017-11-17 14:08:57 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -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
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Noah Eisen
9ad6068f66
Merge pull request #13199 from ncteisen/zero-copy
...
Refactor SerializationTraits
2017-11-07 11:42:24 -08:00
ncteisen
f97d2f5b37
Add init/shutdown to codegen interface
2017-11-06 17:49:57 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
ncteisen
023726202a
Refactor SerializationTraits
2017-10-31 13:15:27 -07:00
Yuchen Zeng
b16df75471
Update with internal C++ interfaces
2017-10-30 12:09:16 -07:00
Yuchen Zeng
6a48dc544e
Remove c++ channel connectivity watcher
2017-10-30 12:06:52 -07:00
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
2017-10-27 10:22:51 -07:00
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
2017-10-26 14:28:26 -07:00
yang-g
903981adb6
Catch out of order error code
2017-10-25 10:46:35 -07:00
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
2017-10-25 09:13:30 -07:00
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Vijay Pai
53cec0fc8f
Update create_channel.cc
2017-10-17 06:46:19 -07:00
Krasimir Georgiev
1f42fae4c5
Fix initialization bug in channel creation
2017-10-17 08:38:20 +02:00
Craig Tiller
a19a073ebc
Workaround bug for a moment
2017-10-13 11:38:37 -07:00
murgatroid99
9887379158
Update version to 1.8.0-dev, update g word to 'generous'
2017-10-02 17:31:33 -07:00
ncteisen
520cc8f555
Fix ClangTidy
2017-09-29 10:37:45 -07:00
Mark D. Roth
ede8ed2156
Merge pull request #12374 from markdroth/plugin_credentials_api_fix
...
Change plugin credentials API to support both sync and async modes
2017-09-29 07:26:50 -07:00
yang-g
cfd20c4262
Add CompositeCallCredentials
2017-09-28 22:00:35 -07:00
Mark D. Roth
6456e494a8
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-28 15:16:14 -07:00
Mark D. Roth
61b26f97b0
Code review changes.
2017-09-28 08:40:03 -07:00
Juanli Shen
fe40815682
Readd grpclb fallback
2017-09-27 12:27:20 -07:00
Mark D. Roth
b4c01f9e29
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-25 12:36:30 -07:00
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
2017-09-21 22:23:44 -07:00
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
2017-09-21 13:12:52 -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
Yash Tibrewal
9eb8672bbe
Removing deprecated string to char * conversions
2017-09-17 23:55:58 -07:00
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
2017-09-14 17:55:13 -07:00
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544 .
2017-09-13 19:45:07 -07:00
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
2017-09-11 09:22:48 -07:00
Mark D. Roth
0aee498525
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-08 08:01:29 -07:00
Craig Tiller
9e3af382fb
Merge github.com:grpc/grpc into stats_histo
2017-09-07 14:47:55 -07:00
Mark D. Roth
8941f607d6
Merge pull request #12369 from markdroth/call_combiner
...
Second attempt at call combiner PR
2017-09-07 14:43:47 -07:00
Yuchen Zeng
b6ef6e9ff5
Merge pull request #12080 from y-zeng/connectivity
...
Reconnect channels automatically in C++ clients
2017-09-07 12:59:41 -07:00
Mark D. Roth
1ff6ee12cc
clang-format
2017-09-06 14:56:18 -07:00
Craig Tiller
3749a6d417
Merge github.com:grpc/grpc into stats_histo
2017-09-06 13:28:22 -07:00
Yang Gao
5314616e24
Merge pull request #12341 from yang-g/extern
...
Log offending ops and error code before crashing the server
2017-09-05 21:43:48 -07:00
yang-g
d3cbd72d5f
Make grpc_call_log_batch take const char*
2017-09-05 13:42:35 -07:00
Yuchen Zeng
26b0a34fbe
Address review comments
2017-09-05 13:32:44 -07:00
Yuchen Zeng
5150cbd02d
Fix timer shutdown process
2017-09-01 23:05:15 -07:00
Mark D. Roth
2caf021772
Change plugin credentials API to support both sync and async modes.
2017-09-01 15:04:13 -07:00
Mark D. Roth
764cf04a13
Revert "Revert "Implement call combiner""
...
This reverts commit bf19961d0a .
2017-09-01 09:00:06 -07:00
Craig Tiller
2897235609
Expose stats into qps_driver
2017-08-31 15:52:57 -07:00
kpayson64
451b92a754
Merge pull request #12306 from kpayson64/ref_counting_slices
...
Give ownership of byte buffers to write ops
2017-08-31 12:17:03 -07:00
Mark D. Roth
8d51e8d17e
Merge pull request #12331 from markdroth/c++_filter_api_fix
...
Add recv_message() method to TransportStreamOpBatch class.
2017-08-31 10:05:47 -07:00
yang-g
66e6c23372
Log offending ops and error code before crashing the server
2017-08-30 16:09:36 -07:00
Ken Payson
4754398f81
Clang_format
2017-08-30 08:31:38 -07:00
Mark D. Roth
196fa2e154
Add recv_message() method to TransportStreamOpBatch class.
2017-08-30 07:34:03 -07:00
yang-g
dce6fc6a48
Add missing extern C
2017-08-29 21:27:08 -07:00
Mark D. Roth
bf19961d0a
Revert "Implement call combiner"
2017-08-29 16:59:07 -07:00
Ken Payson
567e0f1eb6
Have write ops take ownership over slices
2017-08-29 09:21:22 -07:00
Yuchen Zeng
4a11ecc076
Add ChannelConnectivityWatcher::Ref()/Unref()
2017-08-25 15:17:45 -07:00
Mark D. Roth
76e264b8df
Implement call combiner.
2017-08-25 09:03:33 -07:00
Yuchen Zeng
ba23e799dc
Sanity fixes
2017-08-24 23:13:09 -07:00
Yuchen Zeng
504be5c693
Privatize ChannelConnectivityWatcher members
2017-08-24 17:47:43 -07:00
Yuchen Zeng
ddaef3e325
Remove non-POD global variables
2017-08-24 15:34:52 -07:00
Yuchen Zeng
f1d50983ae
Document GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER
2017-08-24 12:08:03 -07:00
Yuchen Zeng
33845d08d4
Check env variable
2017-08-24 03:28:51 -07:00
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
2017-08-24 03:13:42 -07:00
Yuchen Zeng
bfb4e06e3c
Check connectivity intermittently
2017-08-23 23:47:15 -07:00
Yuchen Zeng
4d88416c11
Remove atm in ChannelConnectivityWatcher
2017-08-23 15:20:01 -07:00
Yuchen Zeng
a2e506e8d9
Avoid using timers
2017-08-22 20:46:52 -07:00
Yuchen Zeng
6a6d618034
Prevent watching unsuppoted channels
2017-08-22 18:56:25 -07:00
Yuchen Zeng
2411bacd04
Address review comments
2017-08-22 18:56:25 -07:00
Yuchen Zeng
ee3e3310bb
Add reconnect channel tests
2017-08-22 18:56:25 -07:00
Yuchen Zeng
be9b814240
Add ChannelConnectivityWatcher
2017-08-22 18:56:25 -07:00
David Garcia Quintas
713597f1cd
Master version bump to 1.7.x
2017-08-16 20:59:05 -07:00
Sree Kuchibhotla
419b617a95
Fix thread avalances in thread manager
2017-08-09 20:40:24 -07:00
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
2017-08-04 07:48:48 -07:00
Garret Kelly
9663d0337e
Add a GrpcLibraryInitializer to client_context.cc
...
It's feasible that a program be written/linked such that it only use
ClientContext from grpc++, which could end up with the other instances
of GrpcLibraryInitializer not ending up in the final binary. Add a
GrpcLibraryInitializer to client_context.cc to ensure that the library
is initialized. The primary side-effect of the library not being
initialized when only using a ClientContext is that the destructor for
ClientContext indirectly ends up trying to call through
g_core_codegen_interface when destructing its metadata, which is null.
2017-07-31 15:07:59 -04:00
yang-g
097cbfc94f
Resolve comments
2017-07-28 12:51:50 -07:00
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
2017-07-28 12:49:40 -07:00
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 00:43:30 -07:00
Noah Eisen
5079182938
Merge pull request #11693 from ncteisen/refactor-thread-pool
...
Make CreateThreadPool Settable
2017-07-21 09:27:00 -07:00
ncteisen
139072ff92
Const correct and clang
2017-07-19 08:17:58 -07:00
ncteisen
eb70b9e0df
Anon namespace over static
2017-07-18 17:06:09 -07:00
ncteisen
a5d557b96d
Rename function to avoud future clash
2017-07-18 17:06:09 -07:00
ncteisen
30939f8854
Make CreateThreadPool settable
2017-07-18 17:06:09 -07:00
ncteisen
85fac6df57
Quiet down server builder
2017-07-18 17:05:28 -07:00
Vijay Pai
e5ba80b507
Merge pull request #11870 from vjpai/slice
...
Add idiomatic C++ API for grpc::Slice construction
2017-07-18 14:10:13 -07:00
Mark D. Roth
65d447f2c3
Merge pull request #11454 from markdroth/server_cq_ok_semantics
...
Do not return calls on server when request proto fails to deserialize.
2017-07-18 12:19:45 -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
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
David G. Quintas
ee3fddb6fb
Merge pull request #11837 from dgquintas/thread_manager_join
...
Put thread creation and join under lock
2017-07-17 08:37:40 -07:00
Vijay Pai
fd82a6cb4f
Merge pull request #11145 from vjpai/inproc3
...
In-process transport
2017-07-15 20:05:26 -07:00
David Garcia Quintas
aef267b71e
Put thread creation and join under lock
2017-07-14 19:02:53 -07:00
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
2017-07-14 16:23:54 -07:00
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
2017-07-14 07:18:39 -07:00
Craig Tiller
41690d1ad8
Detach ownership of core/c++
2017-07-13 16:16:13 -07:00
Craig Tiller
e476f7d33f
Strawman OWNERS --> CODEOWNERS script
2017-07-13 08:52:00 -07:00
Mehrdad Afshari
2ca8282846
Merge pull request #11738 from mehrdada/canonica-urls
...
Use https://grpc.io consistently as the canonical URL
2017-07-11 11:41:14 -07:00
Vijay Pai
5e3699493d
Merge pull request #11572 from vjpai/internalize
...
Separate internal-only and public parts of C++ API
2017-07-10 23:22:19 -07:00
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
2017-07-10 22:24:28 +00:00
Mehrdad Afshari
976eb7c4b4
Fetch grpc.io/release over https
2017-07-10 15:07:33 -07:00
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Noah Eisen
67a40548ca
Initialize pending_ops false
2017-07-06 09:34:06 -07:00
Mark D. Roth
cc4ef5919f
Improvements to C++ filter API:
...
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
2017-06-29 08:11:57 -07:00
thinkerou
7763f11c98
use range for loop
2017-06-21 10:22:26 +08:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
David G. Quintas
672f15fbdd
Merge pull request #11143 from dgquintas/dns_server
...
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-06-02 09:55:29 -07:00
David Garcia Quintas
aebcdbd732
master bumped to 1.5.x
2017-05-30 14:14:27 -07:00
Yang Gao
725d822743
merge with head
2017-05-22 10:41:17 -07:00
Muxi Yan
f6b622c08a
Take grpc_workaround_list as parameter
2017-05-17 10:34:10 -07:00
yang-g
21035da1c9
Add api to server builder plugin to modify the builder
2017-05-16 11:42:04 -07:00
Muxi Yan
928681dc3d
obsolete -> is obsolete
2017-05-16 10:16:23 -07:00
David Garcia Quintas
94ab1b55bf
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-05-15 15:27:11 -07:00
Muxi Yan
04f97ca022
Merge branch 'master' into backward-compat-dev
2017-05-12 12:25:43 -07:00
yang-g
a044f6d3f5
Propagate deadline to GenericServerContext
2017-05-11 15:37:51 -07:00
Yang Gao
8bab30dc7c
Merge pull request #11028 from yang-g/default_hc
...
Lower the level of a log message to INFO
2017-05-11 09:53:51 -07:00
Muxi Yan
f5b3db9c22
Use AddChannelArgument method
2017-05-09 17:12:24 -07:00
Muxi Yan
b1a80c751d
bug fixes
2017-05-09 16:50:54 -07:00
Muxi Yan
cdc0d03b2d
Add EnableWorkaround API to enable server workarounds
2017-05-09 16:26:51 -07:00
yang-g
f070d4158c
Lower the level of a log message to INFO
2017-05-08 15:02:28 -07:00
ncteisen
fde16afefa
Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor
2017-05-05 10:27:17 -07:00
ncteisen
cc7e17b2d6
Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor
2017-04-21 08:06:12 -07:00
Craig Tiller
59db187c85
Merge branch 'tsan-c++' into hybrid
2017-04-20 19:24:57 +00:00
Craig Tiller
06a30eef36
Merge github.com:grpc/grpc into cpparena
2017-04-19 14:40:20 -07:00
ncteisen
e107b0d439
Add to codegen interface, refactor proto serialization
...
This change allows for some internal proto serialization
changes to be made
2017-04-19 14:01:13 -07:00
Craig Tiller
3588248554
Merge github.com:grpc/grpc into hybrid
2017-04-19 09:06:45 -07:00
Craig Tiller
f659ee5ff1
Move comment
2017-04-18 17:07:16 -07:00
Craig Tiller
cac4e178fd
Merge github.com:grpc/grpc into cpparena
2017-04-18 13:39:18 -07:00
Craig Tiller
a12c0657ef
Merge github.com:grpc/grpc into hybrid
2017-04-18 13:23:44 -07:00
Craig Tiller
35f27cd457
More cleanup
2017-04-18 13:14:45 -07:00
Craig Tiller
4818150728
Better commentary
2017-04-18 13:09:54 -07:00
Craig Tiller
a3e87894f2
Fix, restore draining
2017-04-18 13:08:08 -07:00
Craig Tiller
991c101de8
Initial thread manager fixes
2017-04-18 19:43:14 +00:00
David G. Quintas
a6f64f4c00
Merge pull request #10391 from dgquintas/lr_back_to_md
...
Load Reporting back to using metadata
2017-04-17 10:36:42 -07:00
Yang Gao
c5fc2b7112
Merge pull request #10663 from yang-g/globalcallback
...
Update ServerGlobalCallback::AddPort api
2017-04-17 09:13:49 -07:00
David Garcia Quintas
a818f72c0c
Load Reporting back to using metadata
2017-04-15 11:25:48 -07:00
Craig Tiller
c3666d7090
Merge github.com:grpc/grpc into hybrid
2017-04-14 13:15:56 -07:00
Craig Tiller
2c6f63731c
Merge github.com:grpc/grpc into cpparena
2017-04-14 13:14:10 -07:00
yang-g
eafeea48a9
Update ServerGlobalCallback::AddPort api
2017-04-14 12:34:10 -07:00
Craig Tiller
957562780a
Merge pull request #10583 from ctiller/server_start
...
Threading robustness
2017-04-14 08:53:01 -07:00
Sree Kuchibhotla
0e5fa9ebcd
Merge branch 'master' into cq_create_api_changes
2017-04-13 18:36:23 -07:00
David Garcia Quintas
9e1acc0796
master to 1.4.0-dev
2017-04-13 16:30:15 -07:00
Craig Tiller
57e6485e2d
Merge github.com:grpc/grpc into hybrid
2017-04-13 06:46:27 -07:00
Sree Kuchibhotla
aa5a92800f
Merge branch 'master' into cq_create_api_changes
2017-04-13 03:13:17 -07:00
Craig Tiller
11c5832b3e
Get rid of second api for marking non-listening cqs
2017-04-12 08:21:17 -07:00
Craig Tiller
75bfb97548
Finish hybrid server stuff, ensure it gets tested
2017-04-11 17:55:12 -07:00
Craig Tiller
334c4678a3
Start building out C++ interface
2017-04-11 16:26:07 -07:00
yang-g
eceec8eaf6
Add helper function to supply and parse error_details from Status.
2017-04-11 16:07:24 -07:00
Craig Tiller
9d9313cfc6
Threading robustness
...
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
2017-04-11 15:05:46 -07:00
Sree Kuchibhotla
a6ff103446
Merge branch 'master' into cq_create_api_changes
2017-04-06 13:09:17 -07:00
Craig Tiller
d4e9a4863a
Convert all async client stream types to not allocate
2017-04-05 15:41:59 -07:00
Craig Tiller
fa416cbe3b
Dont break codegen barrier
2017-04-05 15:14:30 -07:00
Craig Tiller
41f46ab665
Merge github.com:grpc/grpc into cpparena
2017-04-05 14:05:38 -07:00
Craig Tiller
bbcf378192
Merge pull request #10457 from ctiller/fixmsan
...
Potential msan fix
2017-04-05 07:55:44 -07:00
Craig Tiller
5de46568ce
Merge github.com:grpc/grpc into cpparena
2017-04-04 17:08:12 -07:00
Craig Tiller
be094fc5e6
Fix compile
2017-04-04 09:31:28 -07:00
Craig Tiller
7a8232d773
review feedback
2017-04-03 10:59:42 -07:00
Craig Tiller
f854f2a7b0
Merge github.com:grpc/grpc into new_transport_op
2017-04-03 08:21:40 -07:00
Sree Kuchibhotla
c1a32fa46e
Merge branch 'master' into cq_create_api_changes
2017-04-01 17:36:15 -07:00
Sree Kuchibhotla
4426800e6c
clang format
2017-04-01 17:33:50 -07:00
Sree Kuchibhotla
fa71f6f369
Fix ASAN failure
2017-04-01 17:32:34 -07:00
Craig Tiller
5f95f1a4ca
Merge github.com:grpc/grpc into cpparena
2017-04-01 07:42:20 -07:00
Craig Tiller
9c54a0c12c
Merge pull request #10382 from ctiller/checks
...
Reinstate filegroup dependency checks, fix fallout
2017-03-31 16:10:35 -07:00
Craig Tiller
a0f3abd925
Review feedback: bikeshedding round
2017-03-31 15:42:16 -07:00
Craig Tiller
84a2ac885c
Merge github.com:grpc/grpc into new_transport_op
2017-03-31 15:03:39 -07:00
yang-g
d510fcfc6d
Add ports to global server callback.
2017-03-31 11:00:02 -07:00
Craig Tiller
66051c618f
Async end2end test passes
2017-03-31 09:16:35 -07:00
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
2017-03-31 08:27:28 -07:00
David G. Quintas
d58e74e784
Merge pull request #10381 from dgquintas/remove_lr_from_server_context
...
Removed wrong LR include from codegen
2017-03-30 14:19:41 -07:00
Sree Kuchibhotla
e04906dc54
Merge branch 'master' into cq_create_api_changes
2017-03-30 13:20:00 -07:00
Craig Tiller
1345a85d0d
Merge branch 'remove_lr_from_server_context' of github.com:dgquintas/grpc into checks
2017-03-30 10:46:07 -07:00
David Garcia Quintas
55c895a6a4
Removed wrong LR include from codegen
2017-03-30 10:43:14 -07:00
Craig Tiller
29b527fa30
Reinstate one check, fix fall out
2017-03-30 10:27:20 -07:00
Sree Kuchibhotla
c86460225b
Merge branch 'master' into cq_create_api_changes
2017-03-29 16:18:19 -07:00
Craig Tiller
220861eb56
Merge github.com:grpc/grpc into new_transport_op
2017-03-29 14:08:56 -07:00
Sree Kuchibhotla
5c0ef36679
Add comment
2017-03-29 09:53:48 -07:00
Sree Kuchibhotla
ca70796434
Merge branch 'master' into init-free-cq
2017-03-29 09:44:47 -07:00
Vijay Pai
8cfffdd455
Merge pull request #10314 from thinkerou/fix_markdown_render
...
fix markdown render error
2017-03-28 23:37:16 -07:00
Sree Kuchibhotla
ef8e00230e
Do not call grpc_init() for per-call-completion-queues created by a C++
...
synchronous server
2017-03-28 18:11:09 -07:00
Sree Kuchibhotla
14ab588166
Merge branch 'master' into cq_create_api_changes
2017-03-28 12:37:00 -07:00
Craig Tiller
b6090a697b
Merge github.com:grpc/grpc into new_transport_op
2017-03-28 10:13:07 -07:00
Yuxuan Li
8fd581ecdb
Merge branch 'master' into stream_corked_pr
2017-03-27 15:56:13 -07:00
thinkerou
9f00073f3c
fix markdown render error
2017-03-26 00:52:56 +08:00
Sree Kuchibhotla
79441baed9
Merge branch 'master' into cq_create_api_changes
2017-03-24 15:01:23 -07:00
Yuchen Zeng
f5b6b5b702
Replace existing string in SetUserAgentPrefix
2017-03-22 17:38:46 -07:00
Sree Kuchibhotla
f2c32150ef
Update C++ code
2017-03-22 03:01:24 -07:00
Sree Kuchibhotla
36c370793b
Merge branch 'master' into cq_create_api_changes
2017-03-21 10:28:40 -07:00
Yuxuan Li
0574b58869
merge master and fix conflict on bm_fullstack
2017-03-20 12:19:34 -07:00
Craig Tiller
444c223c17
Merge github.com:grpc/grpc into new_transport_op
2017-03-20 09:36:17 -07:00
Yuchen Zeng
40a947ef93
Merge pull request #9889 from y-zeng/channel_arg
...
Destroy pointer args when destructing a ChannelArguments
2017-03-17 11:38:44 -07:00
Craig Tiller
5279370314
Fix compilation
2017-03-15 08:38:24 -07:00
Yuchen Zeng
4564b8cde7
Copy value at SetPointerWithVtable
2017-03-14 11:40:56 -07:00
Craig Tiller
7d882d7839
Merge github.com:grpc/grpc into new_transport_op
2017-03-13 16:15:24 -07:00
David G. Quintas
169c553e0d
Merge pull request #10078 from dgquintas/master_to_1.3.0
...
Bumped version to 1.3.0-dev
2017-03-10 14:09:27 -08:00
Craig Tiller
f5fe4ef621
Convert C++
2017-03-10 10:53:30 -08:00
David Garcia Quintas
74cec10619
Bumped version to 1.3.0-dev
2017-03-09 15:00:26 -08:00
Yuxuan Li
bdc76ab37b
bug fix
2017-03-08 10:59:31 -08:00
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Craig Tiller
111f2d4817
Merge github.com:grpc/grpc into server_channel_args
2017-03-08 09:08:43 -08:00
Craig Tiller
12352b2c5c
Add test of server builder, including channel args
2017-03-08 09:08:22 -08:00
Craig Tiller
4751c28b0b
Add channel arguments to server builder
2017-03-08 09:03:12 -08:00
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
2017-03-03 14:27:44 -08:00
Sree Kuchibhotla
982a6f2b1c
C++ code changes in response to grpc_completion_queue_create() API change
2017-03-03 02:19:31 -08:00
yang-g
01f1544c3b
Check and act on Dump failure
2017-02-28 10:23:31 -08:00
Yuchen Zeng
77532e8bf3
Destroy pointer args when destructing a ChannelArguments
2017-02-27 11:52:39 -08:00
Yang Gao
1556aa1a48
Merge pull request #9718 from yang-g/metadata
...
Let ServerContext own the initial_metadata array for sync calls
2017-02-23 14:30:25 -08:00
yang-g
c42d844d27
Let ServerContext own the initial_metadata array for sync calls
2017-02-22 23:04:06 -08:00
Craig Tiller
eb022becae
Fix compile
2017-02-22 08:08:53 -08:00
yang-g
55c6ebfd7a
Merge branch 'master' into health
2017-02-17 09:55:03 -08:00
yang-g
f07ed45439
Restore the NextMessageSize for streamed calls
2017-02-16 23:01:28 -08:00
David Garcia Quintas
f31f096274
Use call context to propagare LR costs
2017-02-13 16:26:00 -08:00
yang-g
076bac017b
Remove async
2017-02-07 13:50:36 -08:00
yang-g
13a537bcae
merge with head
2017-02-07 13:13:20 -08:00
yang-g
f2fe4f7dbd
Add a PreServerStart in global server callbacks
2017-02-07 12:47:22 -08:00
Craig Tiller
5cad46e218
Bump master version numbers
2017-01-30 15:32:24 -08:00
yang-g
1e19b8d3e7
Update for API change
2017-01-30 10:48:59 -08:00
yang-g
edcde054c6
Merge remote-tracking branch 'upstream/master' into health
2017-01-30 09:58:46 -08:00
Craig Tiller
68bb6a8453
Merge github.com:grpc/grpc into rollfwd
2017-01-27 06:52:13 -08:00
Craig Tiller
4edd56751f
Merge github.com:grpc/grpc into maxmsgsz
2017-01-26 13:50:14 -08:00
yang-g
a7198021a6
merge with head
2017-01-26 13:23:52 -08:00
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97 .
2017-01-23 07:48:42 -08:00
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
2017-01-20 18:11:52 -08:00
Craig Tiller
da9de8988b
Merge github.com:grpc/grpc into maxmsgsz
2017-01-20 15:42:47 -08:00
Craig Tiller
b7b7486c4b
Merge github.com:grpc/grpc into metadata_filter
2017-01-20 11:31:47 -08:00
Craig Tiller
62f28bfcf0
Remove double-checking of max-message-size in C++ layers
2017-01-19 10:05:13 -08:00
Mark D. Roth
f0e17783ae
Add ChannelArguments methods for setting max send/recv message size.
2017-01-19 08:41:15 -08:00
Craig Tiller
1d83a701b6
Fix memory leak
2017-01-17 09:35:42 -08:00
Craig Tiller
28ea6f0fbc
Fix memory corruption
2017-01-13 08:21:24 -08:00
Craig Tiller
6d353e2a72
Fix mac
2017-01-12 21:23:00 -08:00
Craig Tiller
81eceb31cc
Remove bogus assert
2017-01-12 14:27:01 -08:00
Craig Tiller
85e15a0bde
Spam cleanup
2017-01-12 13:42:41 -08:00
Craig Tiller
95beab2284
Uncover the badness
2017-01-12 13:41:52 -08:00
Craig Tiller
e5d8e02aa6
Fix sanity: core_banned_functions
2017-01-11 14:20:28 -08:00
yang-g
8a7a4462b1
merge with head
2017-01-11 13:13:23 -08:00
Craig Tiller
5cf481d2c9
Fix C++ build
2017-01-09 14:50:27 -08:00
yang-g
8bd6a0542b
remove copyright from generated files
2017-01-04 13:10:30 -08:00
yang-g
b90631d3f0
more cleanup
2016-12-29 14:12:15 -08:00
yang-g
a36ea4be8b
remove file
2016-12-29 13:45:06 -08:00
yang-g
ef16328063
cleanup
2016-12-29 13:21:04 -08:00
yang-g
a3c95529c7
async works
2016-12-29 12:10:52 -08:00
yang-g
8e708b12cb
WIP
2016-12-29 11:44:36 -08:00
yang-g
50993b7a4c
async first take
2016-12-29 10:00:27 -08:00
yang-g
f56c251af7
clang-format
2016-12-27 15:37:59 -08:00
yang-g
9bef0740a4
Add test for explicit option
2016-12-27 15:37:59 -08:00
yang-g
4eaf96920f
fix todo
2016-12-27 15:37:59 -08:00
yang-g
b74cf429fd
test pass
2016-12-27 15:37:59 -08:00
yang-g
c3c475fd14
move files to subdir and add generated files
2016-12-27 15:37:59 -08:00
yang-g
fbbb0d707f
generated nanopb files, need to update build.yaml and maybe move them to
...
a sub-dir
2016-12-27 15:37:59 -08:00
yang-g
ad32764219
sync test pass
2016-12-27 15:37:59 -08:00
yang-g
6d0fbfaf7b
WIP
2016-12-27 15:37:59 -08:00
yang-g
c9d2954e55
more
2016-12-27 15:37:59 -08:00
yang-g
08137362d0
WIP
2016-12-27 15:37:59 -08:00
yang-g
8d668d8324
default service
2016-12-27 15:37:59 -08:00
yang-g
6486883940
Add more files
2016-12-27 15:37:59 -08:00
Craig Tiller
ef6938477b
Merge branch 'slice_with_exec_ctx' into metadata_filter
2016-12-27 08:59:00 -08:00
Craig Tiller
0704727c2d
Merge github.com:grpc/grpc into slice_with_exec_ctx
2016-12-27 08:38:35 -08:00
Mark D. Roth
13f3574642
clang-format
2016-12-14 12:39:03 -08:00
Mark D. Roth
42663fb20e
Fix bug.
2016-12-12 10:51:01 -08:00
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
2016-12-12 10:24:59 -08:00
Mark D. Roth
39b1f913d4
Merge remote-tracking branch 'upstream/master' into client_channel_init_cleanup
2016-12-09 11:04:07 -08:00
Craig Tiller
78bc54e7d9
Fix stack corruption
2016-12-08 15:19:41 -08:00
Craig Tiller
f658bf0e1b
Start resolving memory issues in C++ metadata
2016-12-08 14:11:47 -08:00
Craig Tiller
385dd9a462
Merge branch 'slice_interning' into metadata_filter
2016-12-06 20:27:38 -08:00
Craig Tiller
397bff36b9
Merge github.com:grpc/grpc into slice_with_exec_ctx
2016-12-06 15:05:59 -08:00
Craig Tiller
749ccd99df
Merge branch 'track_cq_finalize' of github.com:vjpai/grpc into fixit29
2016-12-05 15:23:24 -08:00
Craig Tiller
9c5318aba0
Fix shutdown problems with sync server
2016-12-05 15:07:04 -08:00
Vijay Pai
7e499aa3fb
Bring back gli initializer summoning
2016-12-05 14:50:14 -08:00
Vijay Pai
6510d47c81
gpr_atm isn't automatically initialized to 0. Thanks Obama.
2016-12-05 14:16:20 -08:00
Vijay Pai
bf24dd9e51
clang-format
2016-12-05 13:59:09 -08:00
Vijay Pai
cbe1599250
Track requests that could cause other requests to be created, and don't do
...
a real core shutdown of a CQ until such requests are done
2016-12-05 13:56:29 -08:00
Mark D. Roth
977f5d4e7d
clang-format
2016-11-30 14:03:58 -08:00
Mark D. Roth
494790b84e
Merge remote-tracking branch 'upstream/master' into client_channel_init_cleanup
2016-11-28 17:44:36 +00:00
Mark D. Roth
e85477646c
Fix build problems.
2016-11-28 17:42:53 +00:00
Craig Tiller
b0f3bca0ef
Everything compiles...
2016-11-22 14:54:10 -08:00
Craig Tiller
73ee7dc559
C++ compiles
2016-11-21 09:12:18 -08:00
Craig Tiller
cca7589333
Start moving C++ to slice interfaces
2016-11-21 08:45:38 -08:00
Craig Tiller
ac5f518016
Merge branch 'slice_with_exec_ctx' into eliminate_mdstr
2016-11-18 12:45:16 -08:00
Craig Tiller
b28c7e8710
Merge github.com:grpc/grpc into slice_with_exec_ctx
2016-11-18 10:29:04 -08:00
Craig Tiller
0160de9ae5
Begin moving mdelem to be a value type
2016-11-18 08:46:46 -08:00
Craig Tiller
66b14c125e
Merge branch 'slice_interning' into eliminate_mdstr
2016-11-16 16:05:01 -08:00
Craig Tiller
c586666cbd
Merge github.com:grpc/grpc into slice_with_exec_ctx
2016-11-16 15:25:00 -08:00
Mark D. Roth
863113a0d9
Merge remote-tracking branch 'upstream/master' into service_config_json
2016-11-16 14:18:28 -08:00
Yuchen Zeng
5c1f55af23
Merge pull request #8335 from y-zeng/tos
...
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Craig Tiller
5ef31ab9c9
Progress towards mdstr elimination
2016-11-10 16:27:48 -08:00
Mark D. Roth
dc5d60b814
Allow setting service config via C++ API, for use in tests.
2016-11-09 14:43:07 -08:00
Mark D. Roth
4bbdda4444
Allow getting LB policy name and service config in C++ API.
2016-11-09 14:40:22 -08:00
Mark D. Roth
0ace62f832
Merge pull request #8618 from markdroth/channel_info_api
...
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Craig Tiller
d56dae0767
Merge
2016-11-08 07:47:24 -08:00
Craig Tiller
31606bdb34
Merge github.com:grpc/grpc into grpc_slice
2016-11-08 07:46:14 -08:00
Mark D. Roth
0e44a258cb
Fix C++ filter API and add test for it.
2016-11-07 11:26:05 -08:00
Craig Tiller
ed9132427a
Get user agent right
2016-11-04 16:31:30 -07:00
Craig Tiller
32df467f11
Merge github.com:grpc/grpc into grpc_slice
2016-11-04 08:21:56 -07:00
Yuchen Zeng
64d518e3b0
Merge remote-tracking branch 'upstream/master' into tos
2016-11-02 16:27:49 -07:00
Vijay Pai
739a93e47f
Merge branch 'master' into turn_it_to_11
2016-11-02 16:00:52 -07:00
Mark D. Roth
57f30d1518
Merge pull request #8523 from markdroth/lb_policy_name_channel_arg
...
Allow setting LB policy name via the C++ API
2016-11-02 08:42:23 -07:00
Vijay Pai
0109d16ac0
clang-format
2016-11-01 17:20:42 -07:00
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
2016-11-01 17:16:55 -07:00
Vijay Pai
5c41bab92c
Remove references to NO_CHRONO option
2016-11-01 16:57:42 -07:00
Vijay Pai
713c7b87e1
clang-format
2016-11-01 16:33:18 -07:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Yuchen Zeng
0df7d349b7
Merge pull request #8380 from y-zeng/reflection_header
...
Remove generated pb files
2016-10-31 15:27:48 -07:00
Craig Tiller
41fd9f2343
Merge github.com:grpc/grpc into grpc_slice
2016-10-31 14:42:53 -07:00
Mark D. Roth
7e0c2f8301
Merge remote-tracking branch 'upstream/master' into lb_policy_name_channel_arg
2016-10-31 14:20:01 -07:00
Sree Kuchibhotla
1e088b4219
Merge branch 'master' into rpc_mgr
2016-10-28 17:34:55 -07:00
Craig Tiller
28b72428a8
clang-format
2016-10-26 21:15:29 -07:00
Craig Tiller
6e080a3651
Merge branch 'buffer_pools_for_realsies' into grpc_slice
2016-10-26 21:00:53 -07:00
Craig Tiller
3d357d901c
Merge github.com:grpc/grpc into buffer_pools_for_realsies
2016-10-26 20:52:03 -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
Mark D. Roth
7190b0c651
Add ChannelArguments::SetLoadBalancingPolicyName() to C++ API.
2016-10-26 12:54:59 -07:00
Sree Kuchibhotla
33d5494f8c
generate_projects.sh and also add config.h header so that gcc4.4 can recognize nullptr
2016-10-25 10:03:52 -07:00
Sree Kuchibhotla
9193119599
Merge branch 'master' into rpc_mgr
2016-10-24 16:18:58 -07:00
Yuchen Zeng
8e386a6999
Merge remote-tracking branch 'upstream/master' into reflection_header
2016-10-24 16:17:40 -07:00
Yang Gao
3cb89bcf4b
Merge pull request #8281 from gcasto/cronet_cpp_api
...
Add C++ Api For Cronet
2016-10-24 15:44:55 -07:00
Sree Kuchibhotla
f72ec6b37b
Move thread_manager.h header from server.h to server_cc.cc
2016-10-24 11:09:43 -07:00
Sree Kuchibhotla
77c483b707
remove unused fields
2016-10-24 11:01:02 -07:00
Sree Kuchibhotla
85399f0824
clang formatting fixes
2016-10-24 09:41:20 -07:00
Garrett Casto
07ecd9d08c
Add copyright header
2016-10-21 14:31:39 -07:00
Craig Tiller
153eaa7aba
s/BUFFER_POOL/RESOURCE_QUOTA/g
2016-10-21 13:52:36 -07:00
Garrett Casto
a2a325048d
Clang format
2016-10-20 16:51:04 -07:00
Sree Kuchibhotla
cb18d7a6b6
make gcc 4.6 and earlier versions happy
2016-10-20 12:39:30 -07:00
Sree Kuchibhotla
6135535ca7
Minor changes and called generate_projects.sh again
2016-10-20 11:17:22 -07:00
Craig Tiller
6952b213b7
Merge github.com:grpc/grpc into buffer_pools_for_realsies
2016-10-19 13:36:59 -07:00
Sree Kuchibhotla
da069a506d
Rename sync_methods_ to sync_requests_
2016-10-19 11:22:29 -07:00
Yuchen Zeng
654aa869d2
Merge remote-tracking branch 'upstream/master' into reflection_header
2016-10-18 16:29:34 -07:00
Sree Kuchibhotla
385c9b2f05
Address code review comments
2016-10-18 16:26:38 -07:00
Craig Tiller
afcc8752f3
clang-format
2016-10-18 16:10:06 -07:00
Sree Kuchibhotla
556aebb1e0
Merge branch 'master' into rpc_mgr
2016-10-18 14:59:24 -07:00
Sree Kuchibhotla
e4eb51f20c
reorder params in Server
2016-10-18 11:51:28 -07:00
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
2016-10-17 14:52:14 -07:00
Yuchen Zeng
324cc66128
Fix missing dependencies
2016-10-17 11:27:35 -07:00
Garrett Casto
7ec31718f4
Merge remote-tracking branch 'upstream/master' into cronet_cpp_api
2016-10-17 09:56:43 -07:00
Yuchen Zeng
169c985f67
Remove generated pb files
2016-10-14 15:58:09 -07:00
Yuchen Zeng
de3daf5d63
More interfaces for grpc_socket_mutator
2016-10-13 17:26:26 -07:00
yang-g
4287998855
Add a test spouse for server context
2016-10-13 16:45:53 -07:00
Sree Kuchibhotla
d39f40da9e
Fix include files
2016-10-13 15:21:14 -07:00
Sree Kuchibhotla
8f7739bcd6
Rename GrpcRpcManager -> ThreadManager
2016-10-13 15:12:55 -07:00
Sree Kuchibhotla
96766195a6
Refactor SyncServerSettings code
2016-10-13 12:42:54 -07:00
Sree Kuchibhotla
e4996d6c43
Merge branch 'master' into rpc_mgr
2016-10-13 11:18:09 -07:00
Craig Tiller
fb324c4d39
Merge branch 'direct-calls' into buffer_pools_for_realsies
2016-10-12 13:18:56 -07:00
Jan Tattermusch
fad04cc4ad
Merge pull request #8354 from grpc/v1.0.x
...
Upmerge doc changes from v1.0.x
2016-10-12 18:44:15 +02:00
Jan Tattermusch
9cece7ca99
Update README.md
2016-10-12 18:01:41 +02:00
Garrett Casto
37e3cc0c2a
Remove stale comment
2016-10-10 16:38:07 -07:00
Craig Tiller
c99945e44c
Merge branch 'direct-calls' into buffer_pools_for_realsies
2016-10-10 10:20:48 -07:00
Mark D. Roth
70c0b32c0f
Merge pull request #8219 from markdroth/fail_fast
...
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-10-07 13:06:59 -07:00
Mark D. Roth
6f6f94fc92
Fix header.
2016-10-06 12:16:31 -07:00
Mark D. Roth
4bcdd73df6
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-10-06 07:56:05 -07:00
Garrett Casto
931a26bf5b
Add C++ Api
2016-10-04 09:18:29 -07:00
Sree Kuchibhotla
5f806d321a
Merge branch 'master' into rpc_mgr
2016-10-03 15:23:02 -07:00
Sree Kuchibhotla
33382d0f53
Cleanup server_cc.cc
2016-10-03 15:15:49 -07:00
Sree Kuchibhotla
acd64db4d9
Minor changes
2016-10-03 14:29:47 -07:00
Craig Tiller
1bb0ce5e23
Merge branch 'direct-calls' into buffer_pools_for_realsies
2016-10-03 12:58:02 -07:00
Sree Kuchibhotla
384eea80ba
Merge remote-tracking branch 'upstream/master' into rpc_mgr
2016-10-03 09:20:52 -07:00
Mark D. Roth
4944ee23df
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-09-30 10:47:24 -07:00
Sree Kuchibhotla
3b2bc2deb1
tsan failures
2016-09-29 17:53:29 -07:00
Stanley Cheung
146a3773da
PHP Proto3: upgrade protobuf to v3.1.0 and regenerate reflection.proto
2016-09-29 17:26:50 -07:00
Craig Tiller
e2180f069d
Merge github.com:grpc/grpc into buffer_pools_for_realsies
2016-09-29 13:52:51 -07:00
Yang Gao
d24b822d73
Merge pull request #8046 from gislan/master
...
Add method for creating insecure channel from FD with custom arguments using C++ API.
2016-09-29 13:39:12 -07:00
Nicolas Noble
ef49a5d217
Merge pull request #7833 from sreecha/fix_channel_from_fd_api
...
Remove completion queue parameter from `grpc_server_add_insecure_channel_from_fd` API
2016-09-29 11:16:55 -07:00
Craig Tiller
d88c461217
Merge branch 'direct-calls' into buffer_pools_for_realsies
2016-09-29 10:35:38 -07:00
Craig Tiller
af541d8232
Fix conflicting filename
2016-09-28 17:32:09 -07:00
Craig Tiller
0c80c7d12c
Collecting failure status progress
2016-09-28 16:30:55 -07:00
Craig Tiller
db1a5cce47
Buffer pool C++ wrapper
2016-09-28 14:22:12 -07:00
Mark D. Roth
59c9f904bf
Rename GRPC_INITIAL_METADATA_IGNORE_CONNECTIVITY to
...
GRPC_INITIAL_METADATA_WAIT_FOR_READY.
Also add a flag to indicate whether wait_for_ready was explicitly set by
the application.
2016-09-28 13:33:21 -07:00
Mark D. Roth
5db24978b6
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-09-28 13:21:31 -07:00
Sree Kuchibhotla
a7a21d2049
Make sync server settings configurable
2016-09-28 12:38:01 -07:00
Sree Kuchibhotla
892dbf4d95
Make settings configurable
2016-09-27 19:42:27 -07:00
Mark D. Roth
9477724003
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-09-27 13:07:00 -07:00
Sree Kuchibhotla
e2ac10627d
new value
2016-09-26 19:12:52 -07:00
Sree Kuchibhotla
f4c6e43ff2
fine tune the cq deadline value (temporarily)
2016-09-26 19:05:28 -07:00
Sree Kuchibhotla
2d08f5bc8d
fix the plugin initialization order in ServerBuilder
2016-09-26 16:11:02 -07:00
Sree Kuchibhotla
862acb9f3a
fix shutdown crash
2016-09-26 09:48:48 -07:00
Yuchen Zeng
ef394a954a
Fix typo
2016-09-23 14:04:33 -07:00
Yuchen Zeng
27e96f9beb
Add comments about how to re-generate reflection proto files
2016-09-22 20:56:46 -07:00
Sree Kuchibhotla
7974232f41
Merge branch 'master' into rpc_mgr
2016-09-21 11:17:41 -07:00
Sree Kuchibhotla
4028d2c11b
More fixes
2016-09-21 10:45:33 -07:00
Sree Kuchibhotla
4306eeee39
Minor changes
2016-09-21 09:56:29 -07:00
Sree Kuchibhotla
aabada97a1
One RPCMgr instance per CQ
2016-09-21 01:39:13 -07:00
Mark D. Roth
abf03aed93
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-16 07:35:37 -07:00
Mark D. Roth
0e256107e8
Code review changes.
2016-09-15 09:01:05 -07:00
Craig Tiller
a51f54192a
Merge pull request #7559 from dgquintas/codegen_cleanse
...
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
Mark D. Roth
f5afcd9f65
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-13 14:57:50 -07:00
Sree Kuchibhotla
765e6542b9
Merge branch 'master' into fix_channel_from_fd_api
2016-09-09 11:33:59 -07:00
Sree Kuchibhotla
d0989101f5
Merge branch 'master' into fix_channel_from_fd_api
2016-09-09 11:31:25 -07:00
Adam Czachorowski
dbdc6e4ae6
Add method for creating insecure channel from FD with custom arguments
...
using C++ API.
This was already supported in C API.
2016-09-09 11:32:09 +02:00
makdharma
93b09478f0
Merge pull request #8024 from makdharma/cpp_cacheable
...
add cacheable option to client_context
2016-09-08 08:19:10 -07:00
Mark D. Roth
ebfcd97940
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble
5928bff0c7
Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge
2016-09-08 01:58:49 +02:00
Makarand Dharmapurikar
2b98b77225
add cacheable option to client_context
2016-09-07 14:24:15 -07:00
Mark D. Roth
7bfa1a8343
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-06 10:44:32 -07:00
Mark D. Roth
6980362c4e
Allow setting max send message size via C++ ServerBuilder API.
2016-09-06 08:15:36 -07:00
David Garcia Quintas
e44902ecc9
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-02 15:27:33 +02:00
kpayson64
cfa18475f6
Merge pull request #7918 from y-zeng/server_builder
...
Add ServerBuilderPlugin::UpdateChannelArguments
2016-09-01 12:53:58 -07:00
David Garcia Quintas
d3dee72437
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-01 20:18:41 +02:00
Mark D. Roth
7331a7aa62
Change wrapped languages to use the new channel arg macro name.
2016-08-31 13:09:27 -07:00
David Garcia Quintas
468e16d97a
server builder include fix
2016-08-31 13:29:40 +02:00
David Garcia Quintas
621e2b1a49
Merge with newly added/modified files
2016-08-30 09:27:19 -07:00
David Garcia Quintas
f3581bf90a
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-08-30 04:45:50 -07:00
Yuchen Zeng
11d3c8f3d4
Add ServerBuilderPlugin::UpdateChannelArguments
2016-08-29 18:19:03 -07:00
Nicolas Noble
668bf881a9
Merge pull request #7802 from nicolasnoble/upmerge-from-v1.0.x
...
Upmerge from v1.0.x
2016-08-23 14:59:39 -07:00
Nicolas "Pixel" Noble
d25c1d2a6c
Removing unused header.
2016-08-23 21:28:33 +02:00
Nicolas "Pixel" Noble
455c5d45f0
Untangling secure and unsecure.
2016-08-23 20:39:49 +02:00
Sree Kuchibhotla
509ee4c111
Remove the API to return the underlying completion queue. This API is no
...
longer needed
2016-08-22 17:48:41 -07:00
Sree Kuchibhotla
cc357bf74e
Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API
2016-08-22 16:08:50 -07:00
Sree Kuchibhotla
3ea9e247e0
some refactoring
2016-08-22 14:15:43 -07:00
Craig Tiller
102fa966b6
Rename some files to avoid conflicting .obj files on Windows
2016-08-22 13:56:36 -07:00
Sree Kuchibhotla
86edf01593
Merge
2016-08-22 10:01:35 -07:00
Vijay Pai
c4752d8857
Remove this->
2016-08-18 10:06:38 -07:00
Mark D. Roth
2665bdd6d2
Reduce allocations associated with src/cpp/util/byte_buffer.cc.
2016-08-18 08:02:24 -07:00
Nicolas "Pixel" Noble
7f074e0e20
Merge branch 'v1.0.x' into manual-upmerge
2016-08-11 21:00:08 +02:00
Mark D. Roth
00e9c3bb3b
clang-format
2016-08-03 10:48:30 -07:00
Jorge Canizales
3df9bdf880
Update generated files with new protobuf version
...
Also make the script fetch protoc from the usual place.
2016-08-03 10:48:23 -07:00
Mark D. Roth
3b4f99549d
Update destroy_call_elem args from merge.
2016-08-02 14:17:11 -07:00
David Garcia Quintas
1f32ae4e84
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-08-02 10:24:44 -07:00
Mark D. Roth
3ac6fc1b97
Merge branch 'filter_call_init_failure' into filter_api
2016-08-02 10:07:48 -07:00
Sree Kuchibhotla
e3a282e90d
Merge branch 'master' into rpc_mgr
2016-07-29 09:54:24 -07:00
Nicolas Noble
5a36325896
Merge pull request #7502 from dgquintas/cpp_compression_level
...
C++ Compression Level set properly
2016-07-28 18:32:25 -07:00
Nicolas Noble
e51b9d2e39
Merge pull request #7502 from dgquintas/cpp_compression_level
...
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
Mark D. Roth
f9d8e9064b
Code review changes.
2016-07-28 09:31:56 -07:00
David Garcia Quintas
61887dcf46
scrubbed codegen/sync.h
2016-07-27 23:17:34 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
David Garcia Quintas
1399e466b0
removed codegen/time.h
2016-07-27 20:31:55 -07:00
David Garcia Quintas
3b31fdf77b
removed codegen/byte_buffer.h
2016-07-27 18:17:12 -07:00
David Garcia Quintas
6b11462da1
removed codegen/alloc.h
2016-07-27 14:49:53 -07:00
David Garcia Quintas
3922838613
Added missing var initialization
2016-07-22 13:13:31 -07:00
David Garcia Quintas
440558a7ec
C++ Compression Level set properly
2016-07-21 19:31:38 -07:00
Yuchen Zeng
12c3811167
Use compiling instead of making
2016-07-20 17:54:37 -07:00
Yuchen Zeng
6b88b22d9e
Add comments for GRPC_NO_GENERATED_CODE
2016-07-19 19:12:46 -07:00
Sree Kuchibhotla
f95f125506
Minor changes
2016-07-19 17:47:46 -07:00
Sree Kuchibhotla
bb5519f5a5
More changes
2016-07-19 11:00:39 -07:00
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
2016-07-19 09:28:39 -07:00
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
2016-07-19 02:00:50 -07:00
Yuchen Zeng
1318479011
Separate generated file and protobuf dependency
2016-07-18 13:07:42 -07:00
Sree Kuchibhotla
9e656a4340
Initial shell
2016-07-18 13:02:43 -07:00
Mark D. Roth
30a4a544be
Merge branch 'filter_call_init_failure' into filter_api
2016-07-15 09:16:05 -07:00
yang-g
807387641f
prevent spurious wake up and unstarted/already shutdown server
2016-07-14 22:59:39 -07:00
yang-g
6ec11f2acd
prevent spurious wake up and unstarted/already shutdown server
2016-07-14 14:53:35 -07:00
yang-g
05573f1692
Make Server::Wait work for async only server.
2016-07-13 22:23:19 -07:00
Mark D. Roth
14bed44db2
Merge remote-tracking branch 'upstream/master' into filter_api
2016-07-12 14:09:41 -07:00
yang-g
e89dc6ceb6
Make Server::Wait work for async only server.
2016-07-11 15:48:01 -07:00
Mark D. Roth
98aa0c13f0
Merge branch 'filter_call_init_failure' into filter_api
2016-07-01 14:17:55 -07:00
David Garcia Quintas
6721d4f0f1
Return success status of grpc_byte_buffer_reader
2016-06-30 17:30:08 -07:00
David Garcia Quintas
4281272389
Updated git clone URL
2016-06-29 17:39:07 -07:00
Mark D. Roth
97b173dfb8
Addressed reviewer comments.
2016-06-29 15:07:35 -07:00
Mark D. Roth
ab950ee7c5
Move channel_filter.h from include/ tree to src/ tree.
2016-06-29 14:51:53 -07:00
Mark D. Roth
bd3e3189d6
clang-format
2016-06-29 08:01:55 -07:00
Mark D. Roth
89ebe55985
Merge branch 'filter_call_init_failure' into filter_api
2016-06-29 07:50:18 -07:00
Mark D. Roth
07cd9c9e06
Initial attempt at a C++ wrapper for the C grpc_transport_op and
...
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Jan Tattermusch
b6163dfb4a
Merge pull request #6352 from ctiller/error
...
Unifying error handling within core
2016-06-17 18:50:55 -07:00
Vijay Pai
ddf694cc62
Merge branch 'master' into wheezy
2016-06-17 13:41:38 -07:00
Craig Tiller
bc4c3e3a79
Merge github.com:grpc/grpc into error
2016-06-16 16:17:56 -07:00
Mark D. Roth
9fe5ef5f9d
Removed unnecessary comments. Added connection counter to test.
2016-06-16 14:26:04 -07:00
Mark D. Roth
f5bbff9c8e
Fix portability issues.
2016-06-16 12:56:07 -07:00
Mark D. Roth
f9c1f7a412
clang-format
2016-06-16 10:57:28 -07:00