Matthew Stevenson
43f9058565
Changed include orders to remove dependency of grpc++_base_unsecure library on grpc_security.h.
2019-09-18 11:26:50 -07:00
Matthew Stevenson
282aef6031
Minor fixes revealed from developping the end-to-end tests.
2019-09-16 13:51:31 -07:00
Matthew Stevenson
a300865dd2
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-09-16 10:43:55 -07:00
Karthik Ravi Shankar
939830aa15
Merge pull request #20030 from karthikravis/move-method-handler
...
Make MethodHandler and related interfaces generic
2019-09-10 21:45:08 -07:00
Esun Kim
cf444b9cab
Regenerate projects
2019-09-10 14:08:50 -07:00
Karthik Ravi Shankar
7ec1a9663d
Merge branch 'master' into move-method-handler
2019-09-06 12:21:29 -07:00
Yash Tibrewal
97f1f57dab
Allow call credentials to be set even after the call is created but before initial metadata is sent
2019-09-05 18:13:59 -07:00
Vijay Pai
7235091dc2
Don't start AuthMetadataProcessor threadpool for non-blocking processor
2019-09-05 10:41:32 -07:00
thinkerou
3a28314343
Merge branch 'master' into use_cpp11_for
2019-09-05 09:03:58 +08:00
Matthew Stevenson
ff9697acd7
Changed SPIFFE credentials naming to TLS credentials, per Jiangtao's comments.
2019-09-03 10:50:37 -07:00
Karthik Ravi Shankar
ce29926334
Merge branch 'master' into move-method-handler
2019-09-03 08:08:18 -07:00
Matthew Stevenson
65bf49abba
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-30 09:39:02 -07:00
Yash Tibrewal
afadd42297
Merge pull request #20058 from yashykt/createchannelbadcreds
...
Init needs to be called in case of bad creds
2019-08-28 18:14:52 -07:00
Karthik Ravi Shankar
de2006d3e1
Merge branch 'master' into move-method-handler
2019-08-28 14:01:58 -07:00
Vijay Pai
5bf8760d3c
Merge pull request #19957 from g-easy/tags
...
Use opencensus::tags::TagKey.
2019-08-28 06:16:50 -07:00
Matthew Stevenson
3b5973c187
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-27 15:32:44 -07:00
Matthew Stevenson
9457917ed1
Autogenerated files and clang format/tidy code
2019-08-27 15:19:43 -07:00
Matthew Stevenson
c942282abc
Implemented Yihua's review comments
2019-08-27 14:57:02 -07:00
Matthew Stevenson
86f52e312a
More work with memory leaks
2019-08-26 15:37:10 -07:00
Matthew Stevenson
90839c5e0f
Changed naming style of C schedule/cancel functions.
2019-08-26 14:40:37 -07:00
Matthew Stevenson
5d9297d0bc
Fixed some memory leaks
2019-08-26 14:31:16 -07:00
Juanli Shen
4dffd82524
Fix type unmatch
2019-08-24 11:57:57 -07:00
Matthew Stevenson
c2fd3844dc
Implemented Yihua's comments
2019-08-23 16:20:19 -07:00
Yash Tibrewal
5294f49d11
Init needs to be called in case of bad creds
2019-08-23 15:34:57 -07:00
Matthew Stevenson
94d3e95e8d
Small changes to/for unit tests.
2019-08-23 11:22:12 -07:00
Matthew Stevenson
9da9c0786d
Added a line in build.yaml and starting to clean up memory leaks in unit tests
2019-08-22 09:50:09 -07:00
Karthik Ravi Shankar
28b0671235
Make MethodHandler and related interfaces generic
2019-08-21 16:12:48 -07:00
Matthew Stevenson
967b911f85
Add forgotten callback function for server authorization check.
2019-08-21 09:08:15 -07:00
Matthew Stevenson
6189d34724
Revert "Forgot to autogenerate files and run clang_format/tidy_code"
...
This reverts commit 9295e4ebb3 .
2019-08-20 14:50:35 -07:00
Matthew Stevenson
9295e4ebb3
Forgot to autogenerate files and run clang_format/tidy_code
2019-08-20 14:41:38 -07:00
Matthew Stevenson
52b72c00f1
Debugging after restores
2019-08-20 14:23:08 -07:00
Matthew Stevenson
0e65b7a20c
Restored tls_credentials_options.cc
2019-08-20 13:26:57 -07:00
Matthew Stevenson
bcc458fb37
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-20 11:55:52 -07:00
easy
6bca0f04a3
Use opencensus::tags::TagKey.
...
opencensus::stats::TagKey is deprecated.
2019-08-16 19:14:09 +10:00
Matthew Stevenson
1e46b38d66
Hid some key materials API's and refactored credential reload arg wrapper.
2019-08-14 13:11:27 -07:00
Arjun Roy
6cf05561ce
Added overloads for metadata add/remove operations when static index is known.
...
In several cases, we wish to add or remove metadata when we already know what
kind of metadata it is (e.g. we know we're dealing with the path, or the
authority, or the user agent, etc.).
In these cases, we do not need to re-compute the metadata batch callout index
since we know it a-priori. This saves us some branches and ALU ops spent
pointlessly re-computing these indices in several hot-path filters.
We do need the original methods where we do compute the indices in cases where
we're operating over a collection of metadata, but this is relatively uncommon.
2019-08-14 10:51:59 -07:00
Matthew Stevenson
f3f8bf05b2
Fix conflicts with ssl_utils.h
2019-08-13 12:18:31 -07:00
Matthew Stevenson
094c35f872
Small changes to ssl_util.h, added comments, fixed error in key materials unit test
2019-08-08 22:54:06 -07:00
Matthew Stevenson
aa207510ce
Finished implementation of API's.
2019-08-07 15:53:26 -07:00
Esun Kim
f7454a9876
Modified health_check to use upb proto instead of nanopb
2019-08-07 09:16:08 -07:00
Matthew Stevenson
5980d0d10d
Added unit tests and fixed some build problems
2019-08-02 09:38:35 -07:00
Karthik Ravi Shankar
fcb43f9dee
Regenerate projects
2019-08-01 17:34:02 -07:00
Matthew Stevenson
64a8f132e7
"Modified some header inclusions"
2019-07-31 09:09:25 -07:00
Arjun Roy
557446a11e
Added specializations for grpc_mdelem_create.
...
In several cases, we create grpc mdelem structures using known-static
metadata inputs. Furthermore, in several cases we create a slice on
the heap (e.g. grpc_slice_from_copied_buffer) where we know we are
transferring refcount ownership. In several cases, then, we can:
1) Avoid unnecessary ref/unref operations that are no-ops (for static
slices) or superfluous (if we're transferring ownership).
2) Avoid unnecessarily comprehensive calls to grpc_slice_eq (since
they'd only be called with static or interned slice arguments,
which by construction would have equal refcounts if they were
in fact equal.
3) Avoid unnecessary checks to see if a slice is interned (when we
know that they are).
To avoid polluting the internal API, we introduce the notion of
strongly-typed grpc_slice objects. We draw a distinction between
Internal (interned and static-storage) slices and Extern (inline and
non-statically allocated). We introduce overloads to
grpc_mdelem_create() and grpc_mdelem_from_slices() for the fastpath
cases identified above based on these slice types.
From the programmer's point of view, though, nothing changes - they
need only use grpc_mdelem_create() and grpc_mdelem_from_slices() as
before, and the appropriate fastpath will be picked based on type
inference. If no special knowledge exists for the slice type (i.e. we
pass in generic grpc_slice objects), the slowpath method will still
always return correct behaviour.
This is good for:
- Roughly 1-3% reduction in CPU time for several unary/streaming
ping pong fullstack microbenchmarks.
- Reduction of about 15-20% in CPU time for some hpack parser
microbenchmarks.
- 10-12% reduction of CPU time for metadata microbenchmarks involving
interned slice comparisons.
2019-07-30 17:07:44 -07:00
Prashant Jaikumar
232725b99a
Add C++ Cronet end2end tests
2019-07-29 10:48:35 -07:00
Matthew Stevenson
e26e2b6b8b
First Spiffe1 commit
2019-07-29 10:33:34 -07:00
yang-g
5779dd935a
Qualify the error code with StatusCode::
2019-07-10 13:52:31 -07:00
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-01 14:05:54 -07:00
Moiz Haidry
63083d4472
Code cleanup
2019-06-21 11:19:34 -07:00
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
2019-06-21 10:51:57 -07:00
Esun Kim
cd27a36924
Regenerate projects
2019-06-18 15:40:50 -07:00
Moiz Haidry
186875337c
Sync with master
2019-06-11 16:16:27 -07:00
Karthik Ravi Shankar
e4b992ee48
Merge branch 'master' into migrate-client-context
2019-06-10 14:01:28 -07:00
Yash Tibrewal
6ed651356d
Fix typo
2019-06-07 16:28:31 -07:00
Karthik Ravi Shankar
522ddfe273
Move ClientContext to grpc_impl
...
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
2019-06-05 16:31:39 -07:00
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
2019-06-05 10:41:30 -07:00
yang-g
c156653997
Add listner fd as part of the external connection parameters
2019-06-03 10:38:37 -07:00
Yang Gao
07c9f7a36b
Merge pull request #19139 from yang-g/plugin_creds
...
Avoid accessing freed auth_metadata_context in C++ plugin.
2019-05-31 14:35:52 -07:00
yang-g
a874fd8bbb
Resolve review comments
2019-05-30 15:20:10 -07:00
Srini Polavarapu
d80650db31
Merge pull request #19143 from weiyongji/master
...
typo fix
2019-05-29 21:36:22 -07:00
yang-g
bd97b1361d
Delete wrapper in executor thread to avoid self-joining deadlock
2019-05-29 13:30:28 -07:00
yang-g
47dbf1dd26
Second approach
2019-05-28 23:47:29 -07:00
Yash Tibrewal
3893a6379b
Clean up
2019-05-28 11:57:57 -07:00
weiyongji
57cc401597
typo fix
2019-05-25 11:20:08 +08:00
Yash Tibrewal
4746a8734d
Merge branch 'master' into validatesvccfg
2019-05-24 15:27:16 -07:00
Yash Tibrewal
886dc10daa
Move validate_service_config to a new file
2019-05-24 14:29:16 -07:00
Karthik Ravi Shankar
dc9897dfe3
Merge pull request #19067 from karthikravis/channel-cq-scq-impl
...
Fold Channel and CompletionQueue into grpc_impl
2019-05-22 16:10:58 -07:00
Yash Tibrewal
41ae267107
Remove unnecessary header
2019-05-20 11:46:18 -07:00
Yash Tibrewal
f63dde8e8e
Make validation function a global function
2019-05-20 11:45:07 -07:00
Vijay Pai
570bf332bc
Memset in channel_filter ctor not needed
...
and causes compiler warnings. Thanks to @KeithMoyer in #19044 and @soheilhy
2019-05-17 10:27:18 -07:00
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
2019-05-17 09:16:32 -07:00
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
2019-05-17 09:12:33 -07:00
yang-g
c639da7a1d
Merge branch 'master' of https://github.com/grpc/grpc into port_sharing
2019-05-16 09:07:55 -07:00
yang-g
ec6e7fd941
Rename enum
2019-05-16 09:07:34 -07:00
Karthik Ravi Shankar
3996599392
Fix clang script errors
2019-05-15 14:30:33 -07:00
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
2019-05-15 14:24:17 -07:00
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