Muxi Yan
d65d25795b
generate_projects
6 years ago
Hope Casey-Allen
327c514fe7
Some reorganizing to respond to code review comments
6 years ago
Mehrdad Afshari
3586ac1c99
Fix SSL channel credential when an argument is None
6 years ago
Srini Polavarapu
27665a3567
regenerate projects
6 years ago
Ruslan Nigmatullin
dcc0a223c6
[bazel] Fix python BUILD rules
...
* Add missing cython sources
* Make grpcio a library as it is not a binary
6 years ago
Yash Tibrewal
8d47cd4992
Revert "Revert "Fathom tcp changes""
6 years ago
Juanli Shen
89659e2925
Regenerate projects
6 years ago
Juanli Shen
8ceb27a324
Regenerate projects
6 years ago
Jan Tattermusch
97ba943f17
Revert "Fathom tcp changes"
6 years ago
Yash Tibrewal
f71fd84e42
more stuff
6 years ago
Eric Gribkoff
3d1dacd73d
Check poll strategy in core fork handler and log error if unsupported
6 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
6 years ago
Mehrdad Afshari
3a5da64e5d
Move _server_cert_config_fetcher_wrapper to credentials.pyx.pxi
6 years ago
Eric Gribkoff
b59d8674d2
Python post-fork handler: exit if grpc shutdown fails
6 years ago
Eric Gribkoff
0ff641a246
Define the allow pthread atfork macro for gRPC Python MacOS builds
6 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.
6 years ago
Chris Lamb
fba18d8551
Fix a number of spelling errors.
6 years ago
Mehrdad Afshari
0aa1bd2ed4
Ensure thread_pool is not None for grpc.Server
6 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().
6 years ago
Vijay Pai
381bcab8bd
Move a file from src/cpp to src/core since core depends on it
6 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.
6 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.
6 years ago
Eric Gribkoff
5a664d7260
check if channel is closed before starting core ops
6 years ago
Srini Polavarapu
7d41ba6370
Regenerate projects
6 years ago
Jan Tattermusch
02d4afb94c
yapf code
6 years ago
Jan Tattermusch
bc8495da7a
upgrade python to protobuf 3.6.0
6 years ago
Mehrdad Afshari
f61e16144e
Add op index support for custom hooks
6 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.
6 years ago
Mehrdad Afshari
c666aa6151
Add low-level Cython debug/expansion hooks
6 years ago
Srini Polavarapu
2794a6cae6
regenerate projects
6 years ago
Mehrdad Afshari
603b82c559
Add a matching _unwrap_grpc_arg
6 years ago
Mehrdad Afshari
fbfebd8e4e
Add Cython functionality to directly wrap grpc_arg
6 years ago
Srini Polavarapu
deeb781374
Regenrate projects
6 years ago
Alexander Polcyn
9896c64186
Revert "Merge pull request #16158 from apolcyn/revert_windows_breakage"
...
This reverts commit d9e8f86675
, reversing
changes made to 04847aeb1e
.
6 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
.
6 years ago
Mehrdad Afshari
ae8ab0f749
Add SERVICE_NAME to reflection/health
6 years ago
Mehrdad Afshari
b12f0aaf07
Add SERVICE_NAME to reflection/health
6 years ago
Alex Polcyn
1b1d5e52e7
Get c-ares to compile and do address sorting on windows
6 years ago
Mehrdad Afshari
b928f99fdf
Disable ChannelConnectivityTest for the Beta API
...
The Beta API has been unsupported for a while and
we plan to disable the flaky tests in the Beta API
as we see them before we entirely remove it.
6 years ago
Srini Polavarapu
8c9af7464c
Regenerate projects
6 years ago
Srini Polavarapu
76450b0dc6
Regenrate Projects
6 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.
6 years ago
ncteisen
afb9829819
Fix the muddled linkeage of channelz
6 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
Mehrdad Afshari
650fcb6b8d
Add MANIFEST and README to grpcio_testing package
7 years ago
Alexander Polcyn
7eda61937e
Separate the posix part of the c-ares driver
7 years ago