Mark D. Roth
f85fd026e3
Client-side health checking support.
7 years ago
Yihua Zhang
81bc942cd8
security connector refactor
7 years ago
Vishal Powar
a33e796575
Changes to register xds plugin init and shutdown.
...
Also,
- Changes to extract grpclb_proto into its own build target
- Remove client_load_reporting_filter from xds plugin.
7 years ago
Lidi Zheng
118e134ded
fix Exception throw for invalid channel args
...
* unit test included
* throw ValueError exception from Cython to Python
* prevent the deconstruction method from failing when Channel initialization failed
7 years ago
Stanley Cheung
e5ce1e36e6
Regenerate projects
7 years ago
Hope Casey-Allen
4772a743e8
Delete hpack lookup table
7 years ago
Vijay Pai
be18cedf90
Delete epollsig poller and tests using it
7 years ago
Muxi Yan
d65d25795b
generate_projects
7 years ago
Hope Casey-Allen
327c514fe7
Some reorganizing to respond to code review comments
7 years ago
Mehrdad Afshari
3586ac1c99
Fix SSL channel credential when an argument is None
7 years ago
Srini Polavarapu
27665a3567
regenerate projects
7 years ago
Ruslan Nigmatullin
dcc0a223c6
[bazel] Fix python BUILD rules
...
* Add missing cython sources
* Make grpcio a library as it is not a binary
7 years ago
Yash Tibrewal
8d47cd4992
Revert "Revert "Fathom tcp changes""
7 years ago
Juanli Shen
89659e2925
Regenerate projects
7 years ago
Juanli Shen
8ceb27a324
Regenerate projects
7 years ago
Jan Tattermusch
97ba943f17
Revert "Fathom tcp changes"
7 years ago
Eric Gribkoff
3d1dacd73d
Check poll strategy in core fork handler and log error if unsupported
7 years ago
Eric Gribkoff
acc020caf7
Support tracking and closing fds post-fork in ev_poll_posix
...
This extends gRPC Python's fork compatibility to Mac OS, which does not support
epoll
The changes are a no-op if fork support is disabled
7 years ago
Mehrdad Afshari
3a5da64e5d
Move _server_cert_config_fetcher_wrapper to credentials.pyx.pxi
7 years ago
Eric Gribkoff
b59d8674d2
Python post-fork handler: exit if grpc shutdown fails
7 years ago
Eric Gribkoff
0ff641a246
Define the allow pthread atfork macro for gRPC Python MacOS builds
7 years ago
Eric Gribkoff
f8cf7ee56d
Support gRPC Python client-side fork with epoll1
...
A process may fork after invoking grpc_init() and use gRPC in the child
if and only if the child process first destroys all gRPC resources
inherited from the parent process and invokes grpc_shutdown().
Subsequent to this, the child will be able to re-initialize and use
gRPC. After fork, the parent process will be able to continue to use
existing gRPC resources such as channels and calls without interference
from the child process.
To facilitate gRPC Python applications meeting the above constraints,
gRPC Python will automatically destroy and shutdown all gRPC Core
resources in the child's post-fork handler, including cancelling
in-flight calls (see detailed design below). From the client's
perspective, the child process is now free to create new channels and
use gRPC.
7 years ago
Naresh
a20e2073c1
Configure module level loggers with basicConfig()
...
Module level loggers were introduced to gRPC Python in 06e1683
, but
missed configuring these, leading to 'No handler found for module'
errors. Using the root logger implicitly calls basicConfig() which does
the basic configuration for the logging system by creating a
StreamHandler with a default Formatter and adding it to the logger. But
this is not the case for module level loggers.
Fix this issue by explicitly calling logging.basicConfig().
7 years ago
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
Yash Tibrewal
f0397933b0
Fathom TCP level changes. TracedBuffer for keeping track of all buffers
...
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
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