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
Noah Eisen
c49b24a7c0
Merge pull request #13549 from ncteisen/test-error-string-api
...
Add test for RecvStatus error_string API
7 years ago
Craig Tiller
bf51c97fd6
Merge pull request #13529 from ctiller/api-cleanup
...
ServerBuilder interface cleanup
7 years ago
Craig Tiller
8a2a831b4e
Merge pull request #13551 from ctiller/bazelsan
...
Add Bazel configurations for sanitizers
7 years ago
ncteisen
9b6283a952
Make API comment more specific:
7 years ago
ncteisen
c7d1f93e76
Fix windows
7 years ago
Mehrdad Afshari
7f252fa403
Merge pull request #13542 from Kunde21/cla-link
...
Updated CLA link to reflect migration to Linux Foundation.
7 years ago
ncteisen
6ab0ba8df5
clang fmt
7 years ago
Vijay Pai
c99a3ca415
Merge pull request #13550 from vjpai/supersane
...
Improve unsecurity sanity test
7 years ago
Noah Eisen
85b383a126
Merge pull request #13552 from ncteisen/semi
...
Add Missing Semicolons
7 years ago
ncteisen
0f2a719070
Add missing semicolons
7 years ago
Mehrdad Afshari
fcc796c699
Remove duplicate headers in BUILD file entry
7 years ago
Mehrdad Afshari
d49e100354
clang-format code
7 years ago
Craig Tiller
86e1ebc4bb
Add Bazel configurations for sanitizers
...
Usage example:
bazel test -c dbg --config asan test/whatever-you-want
7 years ago
Vijay Pai
3b9ac29670
Improve unsecure sanity test
7 years ago
Nicolas "Pixel" Noble
361f8108e4
Merge branch 'master' of https://github.com/grpc/grpc into upmerge-from-v1.7
7 years ago
ncteisen
65dbb9df64
Add test for RecvStatus error_string API
7 years ago
Craig Tiller
e8c47036fb
Update comments
7 years ago