Vijay Pai
381bcab8bd
Move a file from src/cpp to src/core since core depends on it
7 years ago
Paul Petit
33e5c0d091
Replace is by == for a status comparison
...
This worked fine with CPython, but the condition
was always evaluated to False with Pypy, causing
bugs down the road.
Tested with Pypy 6.0.
7 years ago
tdbhacks
bcd747d42d
Added system roots feature to load roots from OS trust store
...
Added a flag-guarded feature that allows gRPC to load TLS/SSL
roots from the OS trust store. This is the Linux-specific
implementation of such feature.
7 years ago
Eric Gribkoff
5a664d7260
check if channel is closed before starting core ops
7 years ago
Srini Polavarapu
7d41ba6370
Regenerate projects
7 years ago
Mehrdad Afshari
f61e16144e
Add op index support for custom hooks
7 years ago
Naresh
848fd9d75f
Minimal Bazel BUILD files for grpcio Python
...
Follow-up on the additions in #15992 . Pad the grpcio Python package
with necessary BUILD files along with 2 simple tests.
7 years ago
Mehrdad Afshari
c666aa6151
Add low-level Cython debug/expansion hooks
7 years ago
Srini Polavarapu
2794a6cae6
regenerate projects
7 years ago
Mehrdad Afshari
603b82c559
Add a matching _unwrap_grpc_arg
7 years ago
Mehrdad Afshari
fbfebd8e4e
Add Cython functionality to directly wrap grpc_arg
7 years ago
Srini Polavarapu
deeb781374
Regenrate projects
7 years ago
Alexander Polcyn
9896c64186
Revert "Merge pull request #16158 from apolcyn/revert_windows_breakage"
...
This reverts commit d9e8f86675
, reversing
changes made to 04847aeb1e
.
7 years ago
Alexander Polcyn
f34c653936
Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort"
...
This reverts commit ae8d3efc3a
, reversing
changes made to e41215e181
.
7 years ago
Alex Polcyn
1b1d5e52e7
Get c-ares to compile and do address sorting on windows
7 years ago
Srini Polavarapu
8c9af7464c
Regenerate projects
7 years ago
Srini Polavarapu
76450b0dc6
Regenrate Projects
7 years ago
ncteisen
afb9829819
Fix the muddled linkeage of channelz
7 years ago
Yihua Zhang
c5f1eda10f
implement loca credentials
7 years ago
Srini Polavarapu
968744798e
Regenerate projects
7 years ago
Mehrdad Afshari
ed0dc067ba
Regenerate Projects
7 years ago
Juanli Shen
f5f1d57d7a
Add load reporting filter
7 years ago
David Garcia Quintas
f3955ba711
Update to use the canonical version of LB proto
7 years ago
Alexander Polcyn
7eda61937e
Separate the posix part of the c-ares driver
7 years ago
Mehrdad Afshari
561630dfe2
Regenerate projects
7 years ago
Nathaniel Manista
a5530e9e36
Specify thread-safety of grpc-created channels
7 years ago
Mehrdad Afshari
b291f186be
Refactor: reorder
7 years ago
Mehrdad Afshari
56142a5dbf
Refactor: avoid calling with_call API
...
Avoid calling the public self.with_call
API internally and opt for sharing the
method body in a separate private method
and calling that instead.
7 years ago
Mehrdad Afshari
a33b807507
Re-raise grpc.RpcError instead of eating it
7 years ago
Mehrdad Afshari
e9cbad592e
Refactor: rename _LocalFailure to _FailureOutcome
7 years ago
Mehrdad Afshari
e2ebd89a5f
Optimize blocking intercepted stream-unary calls
...
Change the blocking stream-unary call code path to rely
on the underlying synchronous API, as opposed to calling
the Future-based underlying async API and invoking `.result()`
on the returned Future object immediately, which can be
resource-intensive.
7 years ago
Mehrdad Afshari
32919791c7
Optimize blocking intercepted unary-unary calls
...
Change the blocking unary-unary call code path to rely
on the underlying synchronous API, as opposed to calling
the Future-based underlying async API and invoking `.result()`
on the returned Future object immediately, which can be
resource-intensive.
7 years ago
Ian Haken
68eff58df6
Create verify_peer_options when creating ssl credentials in order to expose a verification callback option.
...
These options are not yet exposed to languages outside of core.
7 years ago
Naresh
435c6f8d1e
Update grpc_gevent cython files to include .pxi
...
All files under `grpc/_cython/_cygrpc` in grpcio Python package
are used as include files and thus have a .pxi file extension.
grpc_gevent implementation was added in 1bfff8e
, but didn't include the
.pxi file extension. Update these file names.
7 years ago
Srini Polavarapu
586c639795
Regenerate projects
7 years ago
Srini Polavarapu
c79c156307
Regenrate projects
7 years ago
Nathaniel Manista
369d827445
Check conformance to grpc.GenericRpcHandler type
7 years ago
Mehrdad Afshari
d6547ea1a4
Change exception type to AssertError
7 years ago
Mehrdad Afshari
f07f6c9a87
Remove comment that is no longer relevant
7 years ago
Mehrdad Afshari
ebb176780b
Implement abstract methods _LocalFailure inherits
7 years ago
Mehrdad Afshari
a99945d500
Fix arguments-differ pylint warning
7 years ago
Mehrdad Afshari
4b7223d334
Remove unnecessary pylint suppressions
7 years ago
Mehrdad Afshari
0aaeedcbd4
Fix inconsistent-return-statements pylint warnings
7 years ago
Mehrdad Afshari
c48acb86fd
Fix code to pass len-as-condition pylint test
7 years ago
Santosh Ananthakrishnan
fd4c5dd031
TLS session resumption support for Python clients
...
This change adds an experimental ssl_session_cache_lru function to the
Python API that returns an encapsulated grpc_ssl_session_cache (#14483 ).
Python clients may use this object as an argument for the
grpc.ssl_session_cache channel option if they wish to cache and resume
TLS sessions with a server.
7 years ago
Nathaniel Manista
9c86b20bac
Retain references to channel arguments
...
This works around issue 15662 which is not as easy to implement as I
would prefer it to be.
7 years ago
ncteisen
c3c6e064b3
Add basic support for GetChannel
7 years ago
Muxi Yan
c512b4f039
revert -framework CoreFoundation
...
Make error CFStream only
7 years ago
kpayson64
51ea031516
Bump 1.12.1
7 years ago
kpayson64
0647b03296
Use gevent greenlets for metadata callbacks
7 years ago