yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Srini Polavarapu
d63f008767
Regenerate projects
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Nikolai Lifanov
580b720a39
address comments by ericgribkoff@
...
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
6 years ago
Nikolai Lifanov
a916a53347
use str instead of Text to appease Python 2.7
...
The Python 2.7 Linux test runner doesn't have typing module available.
6 years ago
Nikolai Lifanov
9eb1171dfb
be compatible with Python 2 and Python 3
...
In Python 3, cc_err is going to be bytes().
6 years ago
Mehrdad Afshari
0ac7203777
Removed unused ChannelCredentials.c_credentials
6 years ago
Nikolai Lifanov
ad093660ff
format with yapf
...
This was already formatted with yapf, but perhaps I didn't do this
correctly. I copied the diff directly from kokoro build log this
time.
6 years ago
Nikolai Lifanov
c1451e83d5
generalize macOS workaround for -std=c++11 passed in C mode
...
GCC allows this, but notably clang does not. Other systems,
like FreeBSD and some Linux distros ship with clang as default
compiler. While here, switch the approach to filtering out std
flag since the make workaround relies on GNU make syntax and
'make' binary could be bmake and/or gmake could be absent.
The idea to filter the flags was taken from an answer to this
Stack Overflow question:
https://stackoverflow.com/questions/15527611/how-do-i-specify-different-compiler-flags-in-distutils-for-just-one-python-c-ext
6 years ago
Eric Gribkoff
8ba4d3a801
Disable test_abort_does_not_leak_local_vars
...
This test relies on gc timing and has been flaky
(https://github.com/grpc/grpc/issues/17927 ).
6 years ago
Eric Gribkoff
deb1081536
Disable flaky health service test
6 years ago
Eric Gribkoff
af3d32214c
increase timeout
6 years ago
Eric Gribkoff
93ef0db86b
use else in right spot
6 years ago
Eric Gribkoff
ab5b28538f
use else:
6 years ago
Eric Gribkoff
fbc4ea7d8e
mark as experimental
6 years ago
Eric Gribkoff
a2495502df
add enter_graceful_shutdown() to health service
6 years ago
Lidi Zheng
cb3966b881
Use `tuple` instead of `list`/`map` combination
6 years ago
Lidi Zheng
61bea3891b
Another attempt to fix this problem cleanly
6 years ago
Lidi Zheng
e9c67f23f3
Add a new environment variable GRPC_BAZEL_BUILD
6 years ago
Lidi Zheng
48ccc2477c
Prevent the Bazel hack from affecting environment other than Bazel
6 years ago
Lidi Zheng
d209deb14b
Revert "Revert "Merge pull request #17644 from lidizheng/bzl-py3""
...
This reverts commit 7da0aacef2
.
6 years ago
Eric Gribkoff
bf7107b9dc
comments
6 years ago
Eric Gribkoff
2ba9a5aaa8
bazel dep
6 years ago
Richard Belleville
4f299d84ed
Add private _finalize_state method to ServicerContext
6 years ago
Kim Bao Long
0203bf74f5
Remove the redundant words in comments
...
Although it is spelling mistakes, it might make an affects while reading docs.
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
6 years ago
Eric Gribkoff
da1f8d7c66
rpc test fix
6 years ago
Eric Gribkoff
003212648f
fixup
6 years ago
Eric Gribkoff
77f325a9af
bazel target
6 years ago
Eric Gribkoff
a5c96cf765
fix test
6 years ago
Eric Gribkoff
0346ec2f45
stream_observer->on_next_callback
6 years ago
Eric Gribkoff
830d7d1e61
order
6 years ago
Eric Gribkoff
00f85c28c9
update tests.json
6 years ago
Eric Gribkoff
9345eac211
non-blocking server streaming for health service
6 years ago
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706
, reversing
changes made to b3b5d63423
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
Eric Gribkoff
ff0d2195cf
address comments
6 years ago
yang-g
3c61849461
python changes
6 years ago
Eric Gribkoff
2ea6d3ef0b
Add fork tests as Python unit tests
6 years ago
Mark D. Roth
bab8123763
LB policy picker API
6 years ago
Srini Polavarapu
8d237ea703
Regenerate projects
6 years ago
Srini Polavarapu
b0efc103e3
Regenerate projects
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
Eric Gribkoff
5a20b60cda
fix flake in test_abort_does_not_leak_local_vars
6 years ago
Eric Gribkoff
28252eb0dd
force gc in test
6 years ago
Eric Gribkoff
c5255e9a5e
python: do not store raised exception in _Context.abort()
...
Python 3 exceptions include a `__traceback__` attribute that includes
refs to all local variables. Saving the exception results in leaking
references to the, among other things, the Cython grpc_call wrapper and
prevents garbage collection and release of core resources, even after
the server is shutdown.
See
https://www.python.org/dev/peps/pep-3134/#open-issue-garbage-collection
6 years ago
Eric Gribkoff
7da0aacef2
Revert "Merge pull request #17644 from lidizheng/bzl-py3"
...
This reverts commit a25828ad78
, reversing
changes made to 5176fd80fc
.
6 years ago
Vijay Pai
8fb2f4abea
Fix a common typo
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
Lidi Zheng
5198ccd89c
Revert "Add basic benchmark test for Python"
6 years ago
Lidi Zheng
fcbb126baf
Point the hack of proto message comparison to new issue
6 years ago