David Klempner
b941d5a4aa
Fix a missing initialization
9 years ago
David Klempner
6fb122dc6e
Add calls to grpc_recycle_unused_port to two of the tests which call
...
grpc_pick_unused_port a lot.
9 years ago
yang-g
39e71c33d1
fix compiling error
9 years ago
Yuchen Zeng
7d099a5c90
Fix naming and comment problems
9 years ago
yang-g
080528abb7
Add parsing back to protobuf example
9 years ago
yang-g
4c07008610
Add a test for server returning error with debug info in trailer.
9 years ago
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
9 years ago
Craig Tiller
e4d2748f2f
Fix async_end2end_test flow control
...
Completion queues + flow control + single threading is hard.
We need a read outstanding on a call to grant flow control tokens to the
remote end.
To do that we need to request a read *before* we wait for the write to
be finished, otherwise, in the case of a large write we'll block waiting
for flow control tokens.
Built on #6402
9 years ago
Yuchen Zeng
3b8f3354de
Add plugins at the time of static initialization
9 years ago
Vijay Pai
d7b1e704a8
Cover large message sent securely or insecurely over async
9 years ago
Vijay Pai
df8b62cea7
Add coverage for secure async end2end testing
9 years ago
Yuchen Zeng
c049035bed
Add GRPC_ prefix for macros
9 years ago
Yuchen Zeng
018bf1a864
modified has_async_methods and has_sync_methods of TestServerBuilderPlugin
9 years ago
Yuchen Zeng
a42ec21341
Server builder plugin
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
75dbc1eb67
Fixes
9 years ago
Craig Tiller
399b3c42de
Fix client_crash_test, implement idempotency, fail_fast for C++
9 years ago
vjpai
bd06e441cc
Add virtual destructor to satisfy a requirement of some compilers
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f45496fdb0
Fix include path
9 years ago
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