Vijay Pai
98f2f754b8
Used TYPED_TEST to parametrize
...
Include all 4 sync/async client/server combos
9 years ago
Vijay Pai
40d1a2cb87
clang-format
9 years ago
Vijay Pai
bbbbf621e4
Add a concurrent test for sync client, async server case
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
yang-g
f64befd27f
Make a copy of ByteBuffer when writing
9 years ago
Paul Querna
47d841de4d
Add support for IP Addresses in Subject Alt Names.
9 years ago
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
9 years ago
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
9 years ago
Dan Born
51221f1e7e
clang reformat.
9 years ago
Dan Born
f2f7d57c01
Allow use of alternative credential types.
9 years ago
Vijay Pai
dbf47fabd4
Better comments.
9 years ago
Vijay Pai
2e729387f7
clang-format
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
Vijay Pai
6c016efa34
ServerTryCancel was not actually respecting the API since it
...
could be an arbitrary amount of time between when the cancel is tried
and actually observable.
9 years ago
Sree Kuchibhotla
8d543e8e30
Fix ResponseStreamServerCancelAfter test flake
9 years ago
Craig Tiller
7c07aacb0f
Fix async e2e
9 years ago
Vijay Pai
bdfec2c86c
SimultaneousReadWritesDone test was not observing the contract on the
...
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
9 years ago
yang-g
ad0df7bf1f
Discard the read buffer on stream error
9 years ago
yang-g
4c8aed3dba
Add a helper to return all the secure types
9 years ago
yang-g
17197ddc71
Revert "make an enum"
...
This reverts commit 5152cd29f8
.
9 years ago
yang-g
5152cd29f8
make an enum
9 years ago
yang-g
7d2a3e1917
Refactor end2end_test. Make the credentials a separate library.
9 years ago
Vijay Pai
b65eda4c88
Make the poll override function assert on non-zero timeout if invoked
...
from the end2end test thread itself (done by adding a TLS on that thread)
Also clang-format
9 years ago
Vijay Pai
018879aa9a
Set up poll overrides
9 years ago
vjpai
cf4daebe27
Comment the requirements for changing grpc_poll_function and do
...
poll overrides in such a way as to avoid polling races
9 years ago
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
9 years ago
Craig Tiller
45551e0c99
Fix sanity
9 years ago
Nicolas "Pixel" Noble
cd41a0b549
Removing undescores in {GPR,GRPC,CENSUS}_API.
9 years ago
yang-g
5e67246f84
that clang-format
9 years ago
Sree Kuchibhotla
001db590ff
Modify the test to have large number of threads receiving the RPCs and a
...
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
9 years ago
Vijay Pai
0a3a766960
Give tsan a chance
9 years ago
Vijay Pai
feef8be5ae
clang-format
9 years ago
Craig Tiller
6f87164f3c
Properly handle "." in metadata
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
Vijay Pai
63b28447e8
Remove the command-line flags
9 years ago
Vijay Pai
490e5023d7
Fix a typecast...
9 years ago
Vijay Pai
e51d29d93c
Remove some std:: so that grpc:: will be used by default when available
9 years ago
Vijay Pai
9f3bbb00d8
Generalize namespace for ParseCommandLineFlags
9 years ago
Vijay Pai
d10bbb63f8
Refactor to favor composition over inheritance
...
Also make num_threads and num_rpcs as command-line flags
9 years ago
Craig Tiller
e1c2d6a6df
Fix clang3.7/tsan compile failure
9 years ago
Sree Kuchibhotla
4aadcb4ebf
Run tools/distrib/clang_format_code.sh
9 years ago
yang-g
9fd55b0d2d
remove duplicate functions
9 years ago
yang-g
7b0edbd1a3
remove the old impl caused by 4921
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Sree Kuchibhotla
369a04ace6
Address code review comments
9 years ago
yang-g
f8174ea37d
use huffman prefix
9 years ago
Sree Kuchibhotla
0f242acb9d
Comments and a minor fix
9 years ago
Sree Kuchibhotla
4fb590852f
Use the same completion queue for both client and server
9 years ago
Sree Kuchibhotla
f25c6ba229
Comments and format
9 years ago