Soheil Hassas Yeganeh
c060d55cc7
Revert "Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing."
6 years ago
Mark D. Roth
762676249e
Make grpclb child policy configurable.
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Lidi Zheng
168df1cb5f
Check hashes for pip wheels before installing
6 years ago
Karthik Ravi Shankar
b606cad6cc
Fold opencensus into grpc_impl namespace
...
Moving opencensus into grpc_impl namespace..
6 years ago
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Vijay Pai
397bdd6b7b
Fix a bug that was exposed but unrelated...
6 years ago
Prashant Jaikumar
ede3e61acb
Try to fix FlakyNetworkTest.ServerRestartKeepaliveDisabled flake
...
Set channel arg for max connect time.
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
Mark D. Roth
251d66aac6
Convert client channel factory to C++
6 years ago
Alex Polcyn
9644e588f6
Build c-ares bazel lib with alwayslink=1
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Michael Behr
0a53c2ed2e
Move new functions out of client_helper.cc
6 years ago
Michael Behr
473041e06b
Format code.
6 years ago
Prashant Jaikumar
7f37d1cb0e
Fix test flakes in flaky_network_test
...
- Set channel arg for maximum time between reconnection attempts.
- Don't check status of RPCs that can fail due to network flakiness.
6 years ago
Vu Cong Tuan
9c4de5a0ff
Fix typos in test code
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
6 years ago
Vijay Pai
29191d5eda
Need to properly init library for microbenchmarks
6 years ago
frazenshtein
8232d69820
Reverted changes in the test/cpp/naming/resolver_component_test.cc
6 years ago
frazenshtein
7d1e201539
Use grpc_wsa_socket_flags in the test/cpp/naming/resolver_component_test.cc
6 years ago
Nguyen Quang Huy
c9acd8380f
Fix some typos
...
Correct some words spelling for reading more easily.
6 years ago
Vijay Pai
de29ab752e
Fix golden-file test
6 years ago
Vijay Pai
2a80f0edc7
Support use of ByteBuffer for request-side of code-gen unary
6 years ago
yang-g
5480dc5cd6
fix client_lb_e2e_test
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
Michael Behr
60f060e078
Let interop_client send additional metadata, controlled by a flag.
6 years ago
frazenshtein
bc7203e371
Fixed style
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
5f8fe7d5cc
Test for simultaneous Read and WritesDone
6 years ago
Vijay Pai
ac5f5c4fe2
Add ClientCancelsRequestStream test
6 years ago
Vijay Pai
05b98a4896
Also add streaming tests that cancel from client
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Vijay Pai
7eb08ad72e
Add interceptors, secure credentials, and cancellation to client callback test
6 years ago
Prashant Jaikumar
e8efe06a42
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago
Mark D. Roth
624fb64f61
LB policy ctors no longer perform updates; UpdateLocked() must be called
...
after construction.
6 years ago
frazenshtein
76e9d1add7
Set WSA_FLAG_NO_HANDLE_INHERIT flag wherever the WSASocket is used.
...
Check WSA_FLAG_NO_HANDLE_INHERIT is supported.
6 years ago
Prashant Jaikumar
98e0ff582a
Fix C++ bulid on Mac OS
6 years ago
Vijay Pai
cdab1c260f
Fix termination condition of streaming callback QPS tests
6 years ago
yang-g
cedc76bf38
Resolve comments
6 years ago
Vijay Pai
453c6331b6
Fix counters in streaming QPS benchmarks
6 years ago
Prashant Jaikumar
b31f402b46
Add flaky_network_test after fixing internal build failures.
...
Re-add flaky_network_test along with a couple of new testcases.
6 years ago
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706
, reversing
changes made to b3b5d63423
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
yang-g
3227abf717
fix percent en/decode fuzzers
6 years ago
yang-g
86b23adc7f
Other comments
6 years ago
Prashant Jaikumar
6177befe94
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago
hcaseyal
cecea9c592
Revert "Added test for RPCs over a flaky network"
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago