Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
9 years ago
yang-g
a89bf50cf1
Handle cancel before start case
9 years ago
vjpai
6bf1de9ab2
Mark a method with GRPC_OVERRIDE to avoid compiler warning
9 years ago
Julien Boeuf
18a12c4e9b
Fixing zookeeper tests as well.
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
yang-g
c04610357c
The Writes may return false after the server cancels the stream
9 years ago
yang-g
0d55750cb2
Maybe it is already ready when we call getstatus
9 years ago
Vijay Pai
8423203cbb
For compatibility with gcc-4.4, eliminate use of sleep_for and
...
std::atomic
9 years ago
yang-g
bf22e0e8a0
remove anonymous namespace in anonymous namespace
9 years ago
yang-g
88d5d52d73
add tls and proxy as dimensions of end2end test
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Vijay Pai
fa6e70ff85
Remove one pessimizing std::move
9 years ago
vjpai
3ca49d2a1a
Add a todo regarding a C++ block annotation
9 years ago
Julien Boeuf
c34b2e744c
Do not use string_ref for output params.
...
It is very much unsafe to do so as the string_ref could point on a stack
variable of the callee.
9 years ago
Julien Boeuf
8b0b6f413d
It is a bad idea to have a map with string_refs as output params.
...
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
9 years ago
yang-g
5e8abedd61
use seconds
9 years ago
yang-g
d886f33939
add a test
9 years ago
Julien Boeuf
1928d496a2
Adding C++ tests and fixing a few things.
9 years ago
Nicolas "Pixel" Noble
59588c6162
Removing pessimizing moves.
...
Pass #2 .
9 years ago
Craig Tiller
93ddc61c10
Fix compilation
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
Craig Tiller
a4517a2020
Remove C++11isms
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
821de3439f
Addressing comments.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
Julien Boeuf
0c711ad88b
Adding C++ metadata processor.
...
- Had to chnage the core API to add a destroy function pointer in
grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
length which put us at risk of an overflow).
9 years ago
yang-g
730055d962
implementation fix
9 years ago
Craig Tiller
958ee76018
IWYU
9 years ago
Craig Tiller
70a816807f
Friends dont let friends use volatile for synchronization
9 years ago
Rakesh Iyer
4abe76eff5
Repro case for flow control bug.
...
This is a repro case for a bug where if the client is sending
full throttle and the receiver is not able to keep up, the
client reaches a case where it doesn't make forward progress
anymore.
Signed-off-by: Craig Tiller <craig.tiller@gmail.com>
9 years ago
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
9 years ago
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
yang-g
e21908fcee
impl
9 years ago
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
d392fa04c5
fix shutdown_test
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
yang-g
c31cd86a74
Let lame_client accept error status
9 years ago
Hongwei Wang
c3f48c80d4
Minor fix on comments
9 years ago
Hongwei Wang
85ad685e57
Address comments and update grpc plugins
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
Hongwei Wang
ff6097ac49
Fix zookeeper resolver plugin bugs
9 years ago
Hongwei Wang
31efd2adad
Debugging
9 years ago
Hongwei Wang
eeb61ba355
Minor fix for debugging
9 years ago
David G. Quintas
086a982744
Removed "<:" bigram confusing gcc 4.4
...
Resulted in error:
```test/cpp/end2end/end2end_test.cc:120: error: ‘<::’ cannot begin a template-argument list
test/cpp/end2end/end2end_test.cc:120: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
test/cpp/end2end/end2end_test.cc:120: note: (if you use ‘-fpermissive’ G++ will accept your code)
make: *** [objs/opt/test/cpp/end2end/end2end_test.o] Error 1```
9 years ago
Hongwei Wang
d7c5aa856b
Formatting zookeeper_test
9 years ago
Hongwei Wang
b0453fba84
Update zookeeper test to have two servers
9 years ago