Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Vijay Pai
7b3a120295
Address reviewer comments
6 years ago
Vijay Pai
93f0a3f653
Address reviewer comments
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Vijay Pai
48ce4ca939
Add support for extra-reaction operations via Holds
6 years ago
Karthik Ravi Shankar
2bf934f97d
Revert "Fold opencensus into grpc_impl namespace"
6 years ago
Yihua Zhang
b017c801b6
Add SPIFFE security stack to gRPC core
6 years ago
Norman Link
3d28761029
Fixing memory leak in interceptor by removing unsued send_status_
6 years ago
Muxi Yan
33ebf719a5
use cached grpc ssl credential
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Juanli Shen
e889fda482
Use real resolver in xds lb channel
6 years ago
Soheil Hassas Yeganeh
c060d55cc7
Revert "Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing."
6 years ago
Karthik Ravi Shankar
b606cad6cc
Fold opencensus into grpc_impl namespace
...
Moving opencensus into grpc_impl namespace..
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
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()
6 years ago
Lidi Zheng
e1f5ce30ea
Correct grpc_call_cancel and grpc_call_cancel_with_status comments
6 years ago
Vijay Pai
2eb25c871e
Avoid build errors
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Vijay Pai
147c61b2a4
Exclude StartCall from starting callback counter value
6 years ago
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.
6 years ago
yang-g
86b23adc7f
Other comments
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
xtao
7cbb42bb9e
define GPR_ATTRIBUTE_NO_TSAN by using GPR_HAS_FEATURE.
6 years ago
xtao
c03496fdac
1) remove unnecessary initialization;
...
2) correct comment grammar issue;
3) fix the newly caught leaks;
6 years ago
xtao
fb3b85a81a
1) Add MACRO GPR_HAS_FEATURE; 2) Add test code within GRPC_ASAN_ENABLED for gpr_mu/cv mem-leak detection.
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
Alexander Polcyn
3ebbce2f59
Disable c-ares on Android
6 years ago
yang-g
684643ff0a
Test fixing php
6 years ago
Nicolas "Pixel" Noble
3e30c38f1c
Adressing comments.
6 years ago
Yash Tibrewal
89ee1a8b10
Improved interception docs
6 years ago
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
6 years ago
Alexander Polcyn
fd185cd1ea
Disable c-ares on iOS
6 years ago
Vijay Pai
8521c0394b
Address optional reviewer comments
6 years ago
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
6 years ago
Soheil Hassas Yeganeh
ef20840174
Reorder fields in slice to share the same bytes for length fields.
...
Ref-counted and inlined slices both have a lenght value, but
they are not in the same byte offset. As a result, we will
have two different loads based on a branch.
Instead move them to the same byteoffset, so that we will have
one move and the same number of branches.
Difference can be seen on:
https://godbolt.org/z/kqFZcP
6 years ago
Soheil Hassas Yeganeh
5a382a3b59
Introduce weak and nonline attribute.
...
This will be used to mark symbols such as nallocx as weak and replace
with better implementation when available.
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
Yash Tibrewal
5e2e61b6e5
Note on conditions of usage
6 years ago
Yash Tibrewal
3a2cfe50ec
Rever copyright changes
6 years ago
Vijay Pai
7a164229db
Address reviewer comments
6 years ago
Yash Tibrewal
9dd8a13439
Restructure code to handle cases exposed by the callback api
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Yash Tibrewal
4dcb14ec9e
Fix codegen_test_minimal
6 years ago
Yash Tibrewal
d347ec7ce0
Register for cq avalanching when interceptors are going to be run
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
6 years ago
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
6 years ago