Michael Lumish
1074cb60d4
Merge pull request #13759 from murgatroid99/node_deletion_again
...
Delete node-related files again
7 years ago
Mehrdad Afshari
4f4f5ace6c
Merge pull request #13791 from mehrdada/bump181
...
Bump v1.8.x branch to 1.8.1
7 years ago
Mehrdad Afshari
0981f9fab1
Bump version to 1.8.1
7 years ago
kpayson64
f5649c7e96
Merge pull request #13786 from kpayson64/fix_python_server_race
...
Fixes race condition in Python server shutdown
7 years ago
Ken Payson
8179b9523a
Fixes race condition in Python server shutdown
...
When we set the call state to "CANCELLED" after
grpc_cancel_all_calls, we would block other start batch
operations from happening. The rpc_state for the cancelled
call would still be in the server's rpc_states set, but it
would never get removed because there were no active batches
for the call, and the only place we remove from rpc_states is
when a batch completes.
It is better to rely on c-core's cancellation. Once a call
is cancelled, all subsequent ops on that call will return
immediately with a cancellation error.
The RLock() change is due to the possibility that
_on_call_completed
gets invoked immediately when the call has already completed when the
rpc_future callback is created.
7 years ago
Nathaniel Manista
bbb6270dc7
Merge pull request #13784 from nathanielmanistaatgoogle/13752
...
Reallow out-of-spec metadata.
7 years ago
Nathaniel Manista
e1c4021726
Reallow out-of-spec metadata
...
This restore unsupported, de facto behavior that was dropped in
80516e884a
but that it turns out a lot of folks
have been using.
7 years ago
Jan Tattermusch
04fb1c0b31
Merge pull request #13744 from jtattermusch/backport_13604
...
Backport #13604 to v1.8.x
7 years ago
murgatroid99
552b5aace5
Delete node-related files again
7 years ago
Mehrdad Afshari
4f8ffd852b
Merge pull request #13740 from mehrdada/update-readme-version-1.8
...
Update README version to 1.8
7 years ago
Junsung Ko
b66c7d1e7d
fix or slow down windows socket leak
...
related issue
https://github.com/grpc/grpc/issues/13519
https://github.com/grpc/grpc/issues/13102
7 years ago
Mehrdad Afshari
5add606a07
Update README version to 1.8
7 years ago
Mehrdad Afshari
ada05afd62
Merge pull request #13731 from mehrdada/bump-v1.8.0
...
Bump v1.8.0-pre2 to v1.8.0
7 years ago
Mehrdad Afshari
0ba96edc41
v1.8.0-pre2 is now v1.8.0
7 years ago
Mehrdad Afshari
a258a49ca1
Merge pull request #13722 from mehrdada/ship-py-interceptors
...
gRPC Python Client and Server Interceptors
7 years ago
Mehrdad Afshari
6146151a4f
Examples for gRPC Python interceptor facility
7 years ago
Mehrdad Afshari
fdfaf1b12e
Add tests for gRPC Python interceptor machinery
7 years ago
Mehrdad Afshari
108500f194
Add gRPC Python client-side interceptor machinery
7 years ago
Mehrdad Afshari
68e1978e9e
Add gRPC Python service-side interceptor machinery
7 years ago
Mehrdad Afshari
bd247184e6
Merge pull request #13667 from mehrdada/servicercontext-abort
...
Introduce ServicerContext.abort for terminating RPCs with non-OK status
7 years ago
Mehrdad Afshari
b0afa016cb
Refactor: Rename call to response_iterator_call
...
Rename call to response_iterator_call file-wide for response-streaming tests.
7 years ago
Mehrdad Afshari
90ab995cb0
Tests for ServicerContext.abort
7 years ago
Mehrdad Afshari
9bc44e3829
Introduce ServicerContext.abort to abort an RPC
...
gRPC Python required RPCs terminating with non-OK status code to still
return a valid response value after calling set_code, even though the
response value was not supposed to be communicated to the client, and
returning None is considered a programming error.
This commit introduces an alternative mechanism to terminate RPCs by
calling the `abort` method on `ServicerContext` passed to the handler,
which raises an exception and signals to the gRPC runtime to abort the
RPC with the specified status code and details.
7 years ago
apolcyn
5663eac718
Merge pull request #13696 from apolcyn/update_ruby_for_cpp_core
...
Move a CFLAG to be a CPPFLAG when building core for ruby
7 years ago
Alexander Polcyn
ebcc6b398d
Update extconf.rb for c++ conversion, move CFLAGS to CPPFLAGS when
...
compiling core.
7 years ago
Nathaniel Manista
d14035c55a
Merge pull request #13688 from nathanielmanistaatgoogle/12531
...
Elide cygrpc.Operations.
7 years ago
Nathaniel Manista
c5c1216a65
Elide cygrpc.Operations
7 years ago
Nathaniel Manista
5cff6d3c2d
Merge pull request #13672 from nathanielmanistaatgoogle/12531
...
Streamline metadata in gRPC Python.
7 years ago
Nathaniel Manista
80516e884a
Streamline metadata in gRPC Python
7 years ago
Nathaniel Manista
ae74a320dc
Fix Beta API metadata looseness
7 years ago
Mehrdad Afshari
7e75853c48
Merge pull request #13641 from markdroth/server_connection_timeout_1.8
...
Apply #13336 to v1.8.x branch.
7 years ago
Mark D. Roth
e204e5e497
Apply #13336 to v1.8.x branch.
7 years ago
Mehrdad Afshari
41021b1a09
Merge pull request #13633 from mehrdada/fix-generic-rpc-handler-service-failure-mode
...
Return StatusCode.UNKNOWN when gRPC GenericServiceHandler is defective
7 years ago
Mehrdad Afshari
bfdaefef43
Refactor: rename 'e' to 'exception'
7 years ago
Mehrdad Afshari
b030ccae05
Return UNKNOWN on GenericRpcHandler failure
...
A GenericRpcHandler registered on a gRPC Server is not supposed to raise
an exception and if it does so it is considered a programming defect.
However, gRPC is supposed to respond to the client with an UNKNOWN
status code. Previously, this situation was left unhandled and the
client ended up receiving a response with CANCELLED status code.
This commit fixes the issue https://github.com/grpc/grpc/issues/13629 .
7 years ago
Nathaniel Manista
562544151d
Merge pull request #13603 from nathanielmanistaatgoogle/credentials
...
Change client-side credentials' use of gRPC Core.
7 years ago
Nathaniel Manista
0c1f59e6d5
Merge pull request #13593 from nathanielmanistaatgoogle/12531
...
Refactor _plugin_wrapping.
7 years ago
Nathaniel Manista
dfe8403280
Change client-side credentials' use of gRPC Core
...
Rather than allocating gRPC Core memory when instantiated and
retaining it until deleted, gRPC Python's credentials objects now
offer methods to create gRPC Core structures on demand.
7 years ago
Nathaniel Manista
992b8c10b4
Fix some doc string formatting and content
7 years ago
Nathaniel Manista
460e0aa9e6
Refactor _plugin_wrapping
7 years ago
Nathaniel Manista
6267d779b5
Merge pull request #13587 from nathanielmanistaatgoogle/access-token-auth-metadata-plugin
...
Correct AccessTokenAuthMetadataPlugin name.
7 years ago
Nathaniel Manista
6288753742
Correct AccessTokenAuthMetadataPlugin name
...
It was never itself a "call credentials" of any sort.
7 years ago
Muxi Yan
5c96cf41eb
Merge pull request #13564 from muxi/upgrade-podspec-protobuf-version
...
Upgrade protobuf version in podspec
7 years ago
Michael Lumish
65212e06ef
Merge pull request #13532 from murgatroid99/uv_tcp_wildcard_handling
...
Fix uv TCP server handling of wildcard addresses
7 years ago
Muxi Yan
c031e7fa3a
Fix in one more file
7 years ago
Muxi Yan
23b59d12fc
Upgrade protobuf version in podspec
7 years ago
Nicolas Noble
da62be4a3a
Merge pull request #13567 from nicolasnoble/downmerge-of-master-to-1.8
...
Downmerge of master to 1.8
7 years ago
Nicolas "Pixel" Noble
7d199c95a2
Merge branch 'master' of https://github.com/grpc/grpc into v1.8.x
7 years ago
Jan Tattermusch
ba89ad4065
Merge pull request #13476 from jtattermusch/csharp_batchcontext_pooling
...
Reuse BatchContextSafeHandle objects by pooling them (take two)
7 years ago
Nicolas Noble
17a1431a37
Merge pull request #13466 from nicolasnoble/upmerge-from-v1.7
...
Upmerge from v1.7
7 years ago