Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
6 years ago
Yash Tibrewal
af621c7705
Add method to register server creators
6 years ago
Yash Tibrewal
b232bacf27
Starting on server interceptors
6 years ago
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
6 years ago
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
6 years ago
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
6 years ago
Yash Tibrewal
6f05a711e6
Adding a test
6 years ago
Yash Tibrewal
63bdf4e236
More changes for client interception
6 years ago
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
6 years ago
yang-g
a078aa6b68
Enable building opencensus for bazel build
6 years ago
Vijay Pai
a46ddf4a09
Remove grpc_use_signal which is no longer relevant
6 years ago
Muxi Yan
e2e5c81893
New API for GRPCCall
6 years ago
Soheil Hassas Yeganeh
d6b140df03
Revert the change in grpc.h because it's part of C API.
...
I mistakenly added "const ref" which breaks Android client.
6 years ago
Soheil Hassas Yeganeh
5faf1b72ed
Avoid unnecessary ref/unref calls to get mdelem from slices.
...
grpc_mdelem_from_slices() unref's the key and value. As a result,
in quite a few cases on the hot path, we first ref slice, so that
grpc_mdelem_from_slices() can unref them.
Add grpc_mdelem_from_slices_no_unref() which does not unref() the
input slices. This cuts 0.5% - 1.0% across app benchmarks.
6 years ago
ncteisen
664178164a
reviewer feedback
6 years ago
ncteisen
d7bbc60ad6
Reviewer feedback
6 years ago
ncteisen
a139b44acc
Clenaer channelz default values
6 years ago
ncteisen
a64cb54de1
Channel trace is limited by memory
6 years ago
ncteisen
3545d754d5
Channelz get server sockets support
6 years ago
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
6 years ago
Yash Tibrewal
b741edf37e
Error fixes
6 years ago
Soheil Hassas Yeganeh
80ce1865d7
Make SliceFromArray() static in channel_cc.cc.
...
Also, use `context->authority_` instead of `context->authority()`
for consistency.
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago
Soheil Hassas Yeganeh
8442cc213b
Fix styling issue added in c1a1d668
6 years ago
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
6 years ago
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
.
6 years ago
Muxi Yan
983d9be035
Update function signature in grpc_security
6 years ago
Vijay Pai
17fc4d4029
Address reviewer comments
6 years ago
Vijay Pai
0db69018b0
Use GPR_CODEGEN_ASSERT in impl/codegen
6 years ago
Vijay Pai
fc1e35444b
Reset status field in tag as well as func
6 years ago
Vijay Pai
9e6511ae2e
Make the core callback interface API so that it can be used in generated code
6 years ago
Muxi Yan
51b79f1757
Update function signature
6 years ago
easy
0131c7bbb3
Document that set_deadline() uses absolute time.
6 years ago
Vijay Pai
1359543b47
Add a comment to address reviewer feedback
6 years ago
ncteisen
bd9d97a200
Channelz socket support
6 years ago
Vijay Pai
73d89a66f9
Catch exceptions in user callbacks
6 years ago
Vijay Pai
db01bf793a
Add callback-based alarms
6 years ago
Hope Casey-Allen
5b27941372
Even cleaner implementation that does not modify the grpc_mdelem struct.
6 years ago
Yash Tibrewal
5f2bb7a7d4
s/GRPC/gRPC
6 years ago
ncteisen
157e7fa03e
fix clang tidy
6 years ago
Vijay Pai
20778b0c46
Address reviewer comments
6 years ago
Mark D. Roth
42d9becd91
Revert "Second attempt: Implement Watch method in health check service."
6 years ago
Hope Casey-Allen
33d87e3ffd
Fix internal_data to be the same size as the new grpc_linked_mdelem
6 years ago
ncteisen
16f53ff583
Surface user agent by default
6 years ago
ncteisen
c9e300d5b0
Add channel arg control for user agent
6 years ago
Jan Tattermusch
605a42d90a
fix #13939
6 years ago
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
.
6 years ago
Vijay Pai
5474e92292
Allocate using call arenas
6 years ago
Vijay Pai
6b6bdbbb76
Address reviewer and clang-tidy comments
6 years ago
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
6 years ago