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
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
a42ec21341
Server builder plugin
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f45496fdb0
Fix include path
9 years ago
Craig Tiller
9533d042d4
Fix includes
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
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
Craig Tiller
7c07aacb0f
Fix async e2e
9 years ago
yang-g
ad0df7bf1f
Discard the read buffer on stream error
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
Craig Tiller
6f87164f3c
Properly handle "." in metadata
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Sree Kuchibhotla
369a04ace6
Address code review comments
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
944f4cf14e
Sync server end2end and async_end2end tests
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
vjpai
017ed62ce4
Cover an unsupported case of mixing sync and async service in same server
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
730055d962
implementation fix
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
9 years ago
Craig Tiller
69f90e6382
Working towards a non-blocking API test
9 years ago
yang-g
b335256444
Add AsyncNotifyWhenDone
9 years ago
Craig Tiller
8bf2dcab4e
Make tests a little more robust
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Craig Tiller
06cf3cc607
Fix async end2end to poll all fds from the main thread
10 years ago
Craig Tiller
f51199f2b9
Increase test timeout
10 years ago
Craig Tiller
fb775b80cb
Fix test
10 years ago
Craig Tiller
3676b38183
Lose redundant tag on unary calls
10 years ago