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
Jan Tattermusch
bc8f515fb8
clang format
6 years ago
Jan Tattermusch
2bc7b8e0a3
address comments
6 years ago
Juanli Shen
14a858123d
Revert "Implement Watch method in health check service."
6 years ago
ncteisen
58e99b6377
Use strncmp over grpc_slice_str_cmp
6 years ago
ncteisen
ca77fcd7cd
Reviewer comments
6 years ago
ncteisen
743d40d635
Lazily fill metadata map
6 years ago
Mark D. Roth
99ce3e19af
Implement Watch method in health check service.
6 years ago
Yash Tibrewal
86530acca7
Include linux/version.h in port_platform.h
6 years ago
Jan Tattermusch
458775d4f9
improve wording
6 years ago
Jan Tattermusch
fe20ad62a0
improve doc comments for security constants
6 years ago
Eric Gribkoff
b59d8674d2
Python post-fork handler: exit if grpc shutdown fails
6 years ago
Yash Tibrewal
f80af5a7c7
Formatting
6 years ago
Yash Tibrewal
356fff684a
Improve documentation on lifetime of message and status
6 years ago