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
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
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
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
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
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
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
xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
Vijay Pai
03de98d5ef
Revert "Add test for network transitions when CFStream is enabled"
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
Nicolas "Pixel" Noble
7eb4fee912
Regenerate golden file.
6 years ago
Nicolas "Pixel" Noble
5d5e2a4b8f
Regenerating goldef test files.
6 years ago
Yash Tibrewal
50497c2317
Reviewer comments
6 years ago
Mark D. Roth
bab8123763
LB policy picker API
6 years ago
Prashant Jaikumar
485bc78ba3
Added flaky_network_test
6 years ago