Lidi Zheng
0afc05cef5
Fixing the docstring wording
5 years ago
Lidi Zheng
f75ce34da7
Removing an empty line
5 years ago
Lidi Zheng
650ba93a61
Improve the surface API & rewrite the test
5 years ago
Lidi Zheng
fa62339430
Make Sanity test happy
5 years ago
Lidi Zheng
5f0a70973e
Implement connectivity state related APIs
5 years ago
Pau Freixes
8f51eb62d5
Make YAPF happy
5 years ago
Pau Freixes
299a9b38ae
Skip time out test for windows environments
5 years ago
Mariano Anaya
35b7da75f1
Accept credentials in async unary_unary call
...
Create the asynchronous version of a secure channel, that accepts the
credentials.
from grpc.experimental.aio import secure_channel
channel = secure_channel(...)
Co-authored-by: Pau Freixes <pau.freixes@skyscanner.net>
5 years ago
Lidi Zheng
bcd57dfb7d
Support Windows
5 years ago
Lidi Zheng
6a70555290
Plumb through socket options from application to iomgr
5 years ago
Lidi Zheng
b74476417d
Make the socket creation function 2/3 agnostic
5 years ago
Lidi Zheng
e479a78b7c
Apply REUSEADDR and REUSEPORT at the same time
5 years ago
Lidi Zheng
db5bd23e36
Remove the errno.ENOSR form unrecoverable error list
5 years ago
Lidi Zheng
055b3a7e6f
Simply the check
5 years ago
Lidi Zheng
ebd2c841e1
Check the errno instead of the message
5 years ago
Lidi Zheng
305defc7cb
Reuse 'bound_socket' to improve the test case
5 years ago
Lidi Zheng
d7698e7e1d
Make the test v4/v6 agnostic & fix some typo
5 years ago
Lidi Zheng
d1cf71ade5
Fix the format in Cython
5 years ago
Lidi Zheng
cc19670bb9
Cosmetic changes
5 years ago
Lidi Zheng
3a6eaf7de7
Remove the hack
5 years ago
Lidi Zheng
8d81314fc8
Make YAPF happy
5 years ago
Lidi Zheng
387c9c0be3
Improve the credibility of the test
5 years ago
Lidi Zheng
96321ed57f
Make sanity tests happy
5 years ago
Lidi Zheng
91df9493eb
Support channel argument for both client-side and server-side
5 years ago
Pau Freixes
17928a43c0
Apply review feedback, increase timeout threshold
5 years ago
Mark D. Roth
5b18402914
grpclb stabilization
5 years ago
Pau Freixes
bb2c94f0e2
Fix random segfaults when gRPC call resources are released
...
Due to the GC work for breaking reference cycles the internal
attributes of the _AioCall object were cleared and initialized
with None in aims of releasing refcounts for breaking direct or
indirect references.
Once the clear was done, the deallocation of the _AioCall would
fail since the pointer to gRPC call was cast to an invalid object,
no longer was a GrcpWrapper object but a None object, returning a
NULL as a value for the attribute call.
5 years ago
Pau Freixes
aa473fa68a
Make YAPF happy
5 years ago
Pau Freixes
69884f7d84
Remove unused loop parameter
5 years ago
Pau Freixes
db54580f20
Make YAPF happy
5 years ago
Pau Freixes
2a342b22a7
Fixes bug with deadline
5 years ago
Pau Freixes
75c858bcef
Change test name
5 years ago
Pau Freixes
5d664a5f5e
Make YAPF happy
5 years ago
Pau Freixes
33765f5ee5
Not mask AioRpcError and CancelledError at interceptor level
5 years ago
Kim Bao Long
953f7c4429
Remove duplicated words
...
Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
5 years ago
Pau Freixes
a2667b80c3
make YAPF happy
5 years ago
Pau Freixes
833df2b6c8
Apply feedback
5 years ago
Pau Freixes
77df7f5f17
Client unary unary interceptor
...
Implements the unary unary interceptor for the client-side. Interceptors
can be now installed by passing them as a new parameter of the `Channel`
constructor or by giving them as part of the `insecure_channel`
function.
Interceptors are executed within an Asyncio task for making some work before
the RPC invocation, and after for accessing to the intercepted call that has
been invoked.
5 years ago
Richard Belleville
ad83e0b77a
Clarify the set_trailing_metadata docstring
5 years ago
Yihua Zhang
f3d3466a40
fix python santiy check error
5 years ago
Lidi Zheng
5c4e285830
Use "raise_for_status"
5 years ago
Yihua Zhang
e10d90ba27
add security level negotiation between call creds and channel.
5 years ago
Esun Kim
5207eba9ff
Add abseil
5 years ago
Lidi Zheng
9a3ddd8d76
Correct comment wording
5 years ago
Lidi Zheng
4e3d980f70
Convert local cancellation exception into CancelledError
5 years ago
Lidi Zheng
a3d7733dd0
Passing cancel signal to Core for Unary Call as well
5 years ago
Lidi Zheng
6f0ffef2e9
Resolve a TODO and handle one more cancellation corner case
5 years ago
Lidi Zheng
413d29218e
Make YAPF happy
5 years ago
Lidi Zheng
d49b0849f0
Adding more catch clauses for CancelledError
5 years ago
Lidi Zheng
e8283e4818
Reword the comment
5 years ago