| Commit message (Collapse) | Author | Age |
... | |
| |
|
|\
| |
| | |
Configure module level loggers with basicConfig().
|
| |
| |
| |
| |
| | |
* Add missing cython sources
* Make grpcio a library as it is not a binary
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Create verify_peer_options when creating ssl credentials to support a peer verification callback
|
|\ \
| | |
| | | |
Bump master to v1.14
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
|/|
| |
| |
| |
| | |
a verification callback option.
These options are not yet exposed to languages outside of core.
|
|\ \
| | |
| | | |
Update grpc_gevent cython files to include .pxi.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
nathanielmanistaatgoogle/generic-rpc-handler-validation
Check conformance to grpc.GenericRpcHandler type.
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
|/| |
|
|\ \
| | |
| | | |
Bump pylint to 1.9.2
|
| |/
|/| |
|
|\ \
| | |
| | | |
TLS session resumption support for Python clients.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
Update logging in Python to use module-level logger.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Retain references to channel arguments.
|
| | |
| | |
| | |
| | |
| | | |
This works around issue 15662 which is not as easy to implement as I
would prefer it to be.
|
|\ \ \
| | | |
| | | | |
Upmerge changes
|
| |\ \ \ |
|
| | | | | |
|