yang-g
e5509e36d6
Prevent overflow
6 years ago
apolcyn
b7ee2d9bdb
Merge pull request #18134 from apolcyn/add_more_env_vars
...
List c-ares tracers in documentation
6 years ago
billfeng327
9d81e9ef61
updated version of abseil for enabling windows bazel build
6 years ago
Yang Gao
4bccb4c5fd
Merge pull request #18153 from yang-g/ares
...
Avoid calling ares_library_init and ares_library_cleanup except for w…
6 years ago
Lidi Zheng
07b2b54f07
Merge pull request #18116 from lifanov/cstd
...
generalize macOS workaround for -std=c++11 passed in C mode
6 years ago
yang-g
8259bc25ce
fix format
6 years ago
Laurent Le Brun
6f3a00c1a3
Fix for future Bazel changes
...
This fixes issues found by running Bazel with `--incompatible_no_support_tools_in_action_inputs` and `--incompatible_new_actions_api`.
6 years ago
yang-g
7afcb32650
Avoid calling ares_library_init and ares_library_cleanup except for windows
6 years ago
Vijay Pai
c924e0b63e
Merge pull request #18136 from vjpai/callback_test_interceptor
...
Increase test scenarios for client-side of callback API plus fix exposed bugs
6 years ago
Mark D. Roth
c9aebe3880
Merge pull request #18081 from markdroth/service_config_ref_counted
...
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Soheil Hassas Yeganeh
2c32f29802
Merge pull request #18148 from soheilhy/atomic-fix-hdr
...
Add missing header to gprpp/atomic.h
6 years ago
Jan Tattermusch
a635255095
Merge pull request #18086 from chwarr/servercallcontext-userstate
...
Add UserState dictionary to C# ServerCallContext
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
5f8fe7d5cc
Test for simultaneous Read and WritesDone
6 years ago
Vijay Pai
ac5f5c4fe2
Add ClientCancelsRequestStream test
6 years ago
Vijay Pai
23f39363c4
Inproc: properly handle send message that won't go to other side
6 years ago
Vijay Pai
05b98a4896
Also add streaming tests that cancel from client
6 years ago
Vijay Pai
857e622e6f
Merge pull request #18098 from vjpai/try_2
...
Reduce starting callback counter to exclude client-side StartCall
6 years ago
Soheil Hassas Yeganeh
6bde9122a7
Add missing header to gprpp/atomic.h
...
I missed to include atm.h for the stat macros.
6 years ago
Soheil Hassas Yeganeh
b4e069a5c3
Convert grpc malloc slice to use grpc_core::RefCount.
...
This shows up in profiles. Using grpc_core::RefCount lowers the time
spent in grpc_slice_malloc_large() by 8%.
6 years ago
Vijay Pai
9079e98dfc
Merge pull request #18146 from grpc/revert-17308-shutdown
...
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Yang Gao
76a38bfcc2
Merge pull request #18143 from grpc/revert-18120-detach
...
Revert "Fix-forward: avoid data race on detached thread deletion"
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
Yang Gao
dc3aadb6a5
Revert "Fix-forward: avoid data race on detached thread deletion"
6 years ago
Mark D. Roth
d7fe3b023e
Merge pull request #18141 from markdroth/resolver_connectivity_state
...
Transition into state CONNECTING when we start name resolution
6 years ago
Eric Gribkoff
d6e8c4fdb1
Merge pull request #18129 from ericgribkoff/abort_test_test
...
Disable test_abort_does_not_leak_local_vars
6 years ago
Nikolai Lifanov
829455187c
specify -stdlib=libc++ for darwin
...
It's not the default with older Apple clang builds
and without it c++11 features don't work on at least OS X 10.7:
./src/core/lib/gprpp/ref_counted.h:28:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
I manually tested it on macOS 10.11 image and there was not a
regression.
This should fix the "Artifact Build MacOS (internal CI)" test failure.
6 years ago
Soheil Hassas Yeganeh
9dd94ea1fa
Use std::atomic for CQ data.
...
There was a sub-optimality in the CAS operation. vjpai@ and
I decided to move to std::atomic.
This commit basically moves CQ data to C++ structures, and
makes grpc_cq_event_queue a proper c++ class called CQEventQueue.
6 years ago
Lidi Zheng
75df1eccad
Merge pull request #17881 from lidizheng/bzl-py3-fix
...
[Roll Forward] Enable Python 3 for Bazel to Run Tests
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
91db94b278
build grpc libraries now that submake for macOS is removed
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Mark D. Roth
5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
...
Second attempt: LB policy picker API
6 years ago
Mark D. Roth
148ae20e44
Code review changes.
6 years ago
Vijay Pai
7eb08ad72e
Add interceptors, secure credentials, and cancellation to client callback test
6 years ago
Alexander Polcyn
85979e9a58
List c-ares tracers in documentation
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
Christopher Warrington
1232f60ac2
Make UserState non-virtual; add protected impl
...
Makes the public UserState property non-virtual and adds a protected
virtual UserStateCore that can be overridden. This follows the pattern
of the other members.
6 years ago
Mehrdad Afshari
0ac7203777
Removed unused ChannelCredentials.c_credentials
6 years ago
Nikolai Lifanov
1d9a18407a
Merge branch 'cstd' of github.com:lifanov/grpc into cstd
6 years ago
Nikolai Lifanov
4fdfdd5d2c
Merge branch 'master' into cstd
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
c9e17aa21b
Merge branch 'master' into cstd
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
Nicolas Noble
8fd43c2e91
Merge pull request #18125 from allevato/fix-cares-config
...
Support "darwin_x86_64" CPU in cares.BUILD.
6 years ago
rmstar
b1c5376ca1
Merge pull request #18118 from rmstar/cfstreamlib
...
Fix C++ build on Mac OS
6 years ago
Prashant Jaikumar
b889461b46
Fixed cast in endpoint_cfstream.cc
6 years ago
Prashant Jaikumar
e8efe06a42
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago