Lidi Zheng
3a6eaf7de7
Remove the hack
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
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
2a342b22a7
Fixes bug with deadline
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
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
Lidi Zheng
65e4f17a2c
Remove unused code
5 years ago
Lidi Zheng
f1b29deea6
Improve cancellation mechanism:
...
* Remove the weird cancellation_future;
* Convert all CancelledError into RpcError with CANCELLED;
* Move part of call logic from Cython to Python layer;
* Make unary-stream call based on reader API instead of async generator.
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Pau Freixes
d3bba44e9e
[Aio] Call correctly the connect CB error when an error happens
...
Fixes a bug with the Aio socket that did not call correctly the
connect CB function when there was an issue connecting to a host
5 years ago
Lidi Zheng
bf1bfff280
Improve readability & reduce logging severity
5 years ago
Lidi Zheng
8ad6152f00
Remove the explicit coroutine tracking
5 years ago
Richard Belleville
a0ee7f6ff1
Bump version to 1.26.0
5 years ago
Lidi Zheng
160900c897
Renamed the callback_start_batch to execute_batch
6 years ago
Lidi Zheng
eff9f936b9
Simplify the creation and destruction of grpc_call
6 years ago
Lidi Zheng
6f9b77103a
Adopt advices from gnossen@:
...
* Fixes typos in comments
* Replaces terms in comments
* Adjusts logging level
* Adds more assertions
6 years ago
Lidi Zheng
25f6723a7e
Remove unused import
6 years ago
Lidi Zheng
467bd83845
Correct the return types
6 years ago
Lidi Zheng
e9e77e5123
Suppress the pylint "abstract-method" warning
6 years ago
Lidi Zheng
d411891bf6
Fix a tiny typing mismatch
6 years ago
Lidi Zheng
36e6ee9ac3
Adopt reviewer's advices:
...
* Fix several typos
* Fix a un-revealed segfault
* Fix some documentation
* Polish test assertions
6 years ago
Lidi Zheng
fa4eb94ea2
Remove the add_callback method & fix segfault
6 years ago
Lidi Zheng
46e963f8bc
Let streaming RPC start immediately
6 years ago
Yihua Zhang
a6dbc7adb5
rename spiffe to tls
6 years ago
Lidi Zheng
bc99ddedf0
Adopt reviewer's advices
6 years ago
Lidi Zheng
1a3916bc45
Use False instead 0 for bint
6 years ago
Lidi Zheng
d4b8527fb6
Adopt reviewer's advices
6 years ago
Mark D. Roth
68df397aa2
Remove vtables from JSON library
6 years ago
Lidi Zheng
c5d194062c
Attempt to fix all CI failures:
...
* Fixes the Windows Cython obsolate issue
* Fixes the post fork threading issue
6 years ago
Lidi Zheng
dc2ee66432
Make Sanity test happy
6 years ago
Richard Belleville
3d63f59016
Regenerate projects
6 years ago
Richard Belleville
6feae07504
Regenerate projects
6 years ago