Eric Gribkoff
0cd641b444
do not track fds for poll-cv
6 years ago
Muxi Yan
b24b212ee5
Make symbols of BoringSSL private to gRPC
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
Jan Tattermusch
a80fa8732f
C#: allow dot in metadata keys
6 years ago
Jan Tattermusch
e7fb4e57ae
avoid deadlock while cancelling a call
6 years ago
Jan Tattermusch
dc7bedd128
C#: fix subchannel sharing for secure channels
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
Yash Tibrewal
39e53c13bf
remove extra blank line
6 years ago
Yash Tibrewal
2c37c51dd9
Add logging for tcp_user_timeout not supported
6 years ago
Chris Lamb
fba18d8551
Fix a number of spelling errors.
6 years ago
Yash Tibrewal
986fa0ed58
reviewer comments
6 years ago
Mehrdad Afshari
0aa1bd2ed4
Ensure thread_pool is not None for grpc.Server
6 years ago
Yash Tibrewal
622f1a8934
Reviewer comment
6 years ago
Yash Tibrewal
dfe377eddc
Did not initialize len earlier
6 years ago
Yash Tibrewal
ecee4ac703
Use linux kernel version 2.6.37 to decide whether to use TCP_USER_TIMEOUT or not
6 years ago
Yash Tibrewal
1cfd81a604
Explain the newer semantics of grpc_error_add_child
6 years ago
Juanli Shen
f94d98833b
Remove unnecessary atm
6 years ago
Yash Tibrewal
2f8e60a773
Set TCP_USER_TIMEOUT socket option
6 years ago
Yash Tibrewal
97ceb5962c
Remove unwanted logs and also add status details to status error
6 years ago
Yash Tibrewal
85ff14dd16
Modify existing error child manipulation
6 years ago
Hope Casey-Allen
91cb48ad1a
Add timer tests for long running services
6 years ago
Vijay Pai
9e515951ac
size_t shouldn't have the value -1; switch to int
6 years ago
ZhouyihaiDing
461c910a8c
PHP: fix failed test 16392
6 years ago
Mark D. Roth
add72762a7
Fix round_robin to avoid negative size_t value.
6 years ago
Juanli Shen
49e74c087e
Simplify call arena size growth
6 years ago
ZhouyihaiDing
66a4efc5a8
PHP: fix failed test 16392
6 years ago
Juanli Shen
25f7d0f6f4
Revert to TRANSIENT_FAILURE during backoff
6 years ago
Mark D. Roth
4d6f002780
Code review changes and fix threading bug in test.
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
Yash Tibrewal
b22c3009d4
Fix typo
6 years ago
Juanli Shen
d19fd1c689
PF: Check connectivity state before watching
6 years ago
Yash Tibrewal
d9f4c76356
Add a nullptr check
6 years ago
Vijay Pai
381bcab8bd
Move a file from src/cpp to src/core since core depends on it
6 years ago
Mark D. Roth
7a7e4f5652
Move C++ mu_guard class out of C-core public headers and fix style.
6 years ago
Yash Tibrewal
052beefdec
Add further comments
6 years ago
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
6 years ago
Jan Tattermusch
26d3e774df
new C# serialization API
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
ncteisen
befcfee767
Add error checking for server args in PHP
6 years ago
ncteisen
3f002567c4
Add error checking for server args in PHP
6 years ago
Vijay Pai
9c32dab63d
Expand comment based on reviewer feedback
6 years ago
David Garcia Quintas
d08ea3025b
Fixed ordering in adding pending picks to PF
6 years ago
ncteisen
70ef911343
Add C++ support for GetServers
6 years ago
ncteisen
632b58cb82
regenerate projects
6 years ago
ncteisen
f3c600f335
Fix up C++ test to be more stable
6 years ago
Vijay Pai
d9781df474
Address reviewer comments
6 years ago