David Garcia Quintas
0fde7131aa
Fixed usage of anon namespace inside .h
9 years ago
Craig Tiller
52237e3a96
clang-format
9 years ago
Craig Tiller
63d24f1c7d
Make qps workers connect before even warmup stage begins
9 years ago
Jan Tattermusch
b85e9d43f0
fix formatting
9 years ago
Craig Tiller
9d86120547
clang-format
9 years ago
yang-g
b6f853d065
Add comment
9 years ago
Julien Boeuf
19cd009ec1
clang-format
9 years ago
yang-g
7099d6fed6
Add an explicit base class pointer to avoid potential breakage.
9 years ago
Craig Tiller
4ee1a62723
Stress test fixes
...
- properly fail a Read() on a stream if we fail to parse a protobuf
- fix an ordering problem with the chttp2 transport global lock, whereby
a sequence of two operations could be swapped - this resulted in
slices being returned to the upper layers in the wrong order,
corrupting data
9 years ago
David Garcia Quintas
1b2db6333d
Moved protos out of core_codegen interface
9 years ago
Sree Kuchibhotla
01907123f6
generate_projects.sh and fix copyright year
9 years ago
Sree Kuchibhotla
1f5e262589
Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier
9 years ago
Craig Tiller
788a25365d
Fix dependencies
9 years ago
Craig Tiller
666a362a66
clang-fmt
9 years ago
Craig Tiller
3ab2fe0094
Rollup of changes from the latest import
9 years ago
Craig Tiller
08eb0d6752
clang-format
9 years ago
Craig Tiller
c954f59c2e
Fix missing arg
9 years ago
Craig Tiller
399b3c42de
Fix client_crash_test, implement idempotency, fail_fast for C++
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
David Garcia Quintas
c14f1cbe9a
new fixed guards
9 years ago
David Garcia Quintas
3598d4457d
Fixed include guards
9 years ago
David Garcia Quintas
9eef377865
clang-format
9 years ago
David Garcia Quintas
60ee8dd2fc
docstrings
9 years ago
David Garcia Quintas
b942640497
clang-format
9 years ago
David Garcia Quintas
be25493398
codegen interface usage of gpr_inf_future
9 years ago
David Garcia Quintas
ef6848fe5b
reverted gpr_ time changes
9 years ago
David Garcia Quintas
8c3d9943f6
compiles!
9 years ago
David Garcia Quintas
e1ce31eda3
wip. cq refactored
9 years ago
David Garcia Quintas
6848c4e145
wip. prior to cq refactoring
9 years ago
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
9 years ago
David Garcia Quintas
b07938fa22
added missing initializer for global proto_serializer holder to codegen lib
9 years ago
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
9 years ago
Vijay Pai
13ee2f2df3
Properly integrate async API with server-side cancellations.
...
There is a comment above IsCancelled that says when it is ok to use this.
9 years ago
David Garcia Quintas
7f7181ffc5
fix comments
9 years ago
David Garcia Quintas
c4f4f7ede9
clang-format
9 years ago
David Garcia Quintas
f588aeb1e2
introduced workaround for proto_utils
9 years ago
David Garcia Quintas
bcd78fe845
Added missing virtual dtor
9 years ago
David Garcia Quintas
26a9848416
Removed outdated mention of AsynchronousService
9 years ago
David Garcia Quintas
ab5da5ef7a
Added missing codegen includes
9 years ago
Vijay Pai
30bf3ea4b9
clang-format
9 years ago
Vijay Pai
c593ca0171
reset the shared_ptr
9 years ago
Vijay Pai
bedf57fe8c
Ref the collection only when it will be used (and later finalized)
9 years ago
Vijay Pai
2b5638668e
Drop the ref
9 years ago
Vijay Pai
5506bea349
Undo much of the previous commits so that only CallOpSet groups
...
with a Sneaky member are in a collection.
9 years ago
Vijay Pai
7e3f9b0178
Forgot to include these edits in the last commit
9 years ago
Vijay Pai
38004a8e39
Wrap groups of related CallOpSet's into a ref-counted structure
...
whenever appropriate so as to avoid any unintentional free-before-use
problems.
Potential performance issue: this triggers an additional allocation
for each Async call initiation, along with the cost of ref-counting
shared_ptr . But this is worth it for the additional safety provided
here without any change to the exposed C++ API.
9 years ago
Craig Tiller
a44cbfc11c
Fix race condition in transport API
...
Specifically:
Receiving trailing and initial metadata had to be published in
lock-step.
=> If we wanted trailing metadata, we might not get initial metadata processed
until messages arrived.
=> Compression code had no idea what codec to use.
To fix it, publish initial metadata as soon as it's ready (this is a
transport API change).
Requires changes to grpc_call to ensure ordering in processing initial
metadata and messages (one may be delayed).
Exposed at least some bugs in C++ where we never read initial metadata.
I expect at least one more similar bug.
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Sree Kuchibhotla
3075c81028
Update comment on TryCancel() API
9 years ago