Muxi Yan
c9c060c52d
nit fixes in ChannelArgsUtil
6 years ago
Muxi Yan
9e5d7476ac
nit build fix
6 years ago
Moiz Haidry
1303ec7b53
Added benchmarks for Callback based Unary server
6 years ago
Lidi Zheng
cabe8d8f10
New Python documentation generation
...
* Use templates instead of generating them every time
* Theme changed
* Add grpc_* modules
* APIs grouped
* No documentation for class members without docstring
* Add docstring for status code
6 years ago
Muxi Yan
ab95105607
clang-format
6 years ago
Muxi Yan
a0f5db1581
Rename GRPCCallOptions+internal->GRPCCallOptions+Internal
6 years ago
Muxi Yan
d8e7a6c6f1
hash: -> .hash
6 years ago
Muxi Yan
bb5e55e868
remove extra copy
6 years ago
Muxi Yan
ae623ea5b6
Polish isEqual of options
6 years ago
Lidi Zheng
4821221e3a
Add wait-for-ready semantics
...
* Include unit tests to test default behaviour, disable behaviour, enable behaviour of the wait-for-ready mechanism
* Import flags constants from grpc_types.h
* Use WaitGroup to wait for TRANSIENT_FAILURE state in unit test
6 years ago
Muxi Yan
d40e828d53
NSInteger->NSUInteger
6 years ago
Muxi Yan
d635d9f9f9
fix some threading issues
6 years ago
Lidi Zheng
03841be6ce
Add background about the special condition
6 years ago
Muxi Yan
515941ae18
copy _requestHeaders in GRPCCall
6 years ago
Srini Polavarapu
1bf93a76f5
Regenerate projects
6 years ago
Lidi Zheng
8a0b08b574
Migrate tests from Python 3.4 to Python 3.7
6 years ago
Yash Tibrewal
fc28a86a0e
Allow setsockopt and getsockopt to softly fail for TCP_USER_TIMEOUT
6 years ago
Muxi Yan
1be316e564
Remove check in cancel
6 years ago
Vishal Powar
970552f1ac
Disabling the current gRPC LB method of handling fallback in xds plugin.
...
xDS plugin will need seperate policy for fallback and handling the
transition to and from fallback mode.
6 years ago
Muxi Yan
b3b98ba4a2
test fix
6 years ago
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
6 years ago
Muxi Yan
9558618182
Check if call is cancelled
6 years ago
Muxi Yan
24265b03ac
Clarify cancel before call is started
6 years ago
Muxi Yan
739760cdc8
More comment
6 years ago
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
6 years ago
Muxi Yan
b496e3a266
On finish, clean _handler and _call independently
6 years ago
Muxi Yan
6b8f0ceae8
A few nits
6 years ago
Soheil Hassas Yeganeh
6c49b3dad7
Eliminate function pointers in hpack_enc().
...
Using a conditional branch to set a function pointer will prevent the
compiler to inline the function and worse it would jump based on a
register value killing the pipline.
Here is a short example to demonstrate the variants:
https://godbolt.org/z/radfZg
Remove `add_nothing` and add a lambda when necessary to make sure
everything is inlined.
6 years ago
Soheil Hassas Yeganeh
d926b04ced
Optimize `grpc_call_stack_init` for cache coherency.
...
Make sure call_element[0..count] is filled before actually calling
`init_call_elem` of the filters, because they would trash the cache.
This improves BM_StreamingPingPong<TCP, ...> by 3%.
6 years ago
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
6 years ago
Lidi Zheng
b8a9989005
Add support for utf-8 error messages
...
* Both server and client should be fine with utf-8 error messages now
* Adding an interop test: special status message
6 years ago
Yash Tibrewal
f8561952e9
Don't use default capture
6 years ago
Vishal Powar
4ce341cd32
xds plugin does not need drop to be determined by serverlist
6 years ago
Vijay Pai
acd07f7f40
Make inproc transport properly obey status ordering rules
6 years ago
Soheil Hassas Yeganeh
48e4a81b05
Remeve memset(0) from arena allocated memory.
...
Callers are updated to properly initialize the memory.
This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
6 years ago
Richard Belleville
3c0c4fc1fd
Use custom assertions
6 years ago
Richard Belleville
056a1a8ea4
Isolate logging in all test cases
6 years ago
Richard Belleville
a8d6e14721
Appease the yapf gods
6 years ago
Richard Belleville
0139d8777d
Add explicit test that user can configure their own handler
6 years ago
Richard Belleville
9aed6c8f8e
Fix splat
6 years ago
Richard Belleville
a56a30f5a1
Format code
6 years ago
Richard Belleville
e4b4f3131b
Pull out function to patch stderr
6 years ago
Richard Belleville
2acb85006a
Add test for 'No handlers could be found' problem
6 years ago
Richard Belleville
17dc8d3083
Format code
6 years ago
Richard Belleville
7c3c8323cd
Add logging tests to tests.json
6 years ago
Richard Belleville
916681911d
Fix various mind-numbing typos
6 years ago
Richard Belleville
61011a3af4
Add basicConfig handler to grpcio_testing
6 years ago
Richard Belleville
619f7e767b
Add basicConfig handler to unit tests
6 years ago
Richard Belleville
e57c10d9f0
Add NullHandler to avoid warnings about no handler
6 years ago
Richard Belleville
3990ff1dcf
Revert "Configure module level loggers with basicConfig()"
...
This reverts commit a20e2073c1
.
6 years ago