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
78bddc66b7
Add empty_stream test case
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
Craig Tiller
8cf0ed03d1
Fix mac build
9 years ago
Nicolas "Pixel" Noble
59588c6162
Removing pessimizing moves.
...
Pass #2 .
9 years ago
yang-g
201ef59847
more changes
9 years ago
yang-g
867d0c132c
Fix auth tests
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
vjpai
d514b21cc8
Put timeout on server shutdown
9 years ago
Craig Tiller
1ebb7c885e
Hand-written changes
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
68ff03a952
Fixing AuthContext tests.
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
Julien Boeuf
421738b529
Addressing comments, round 2.
9 years ago
Julien Boeuf
4eaeb992d3
Addressing comments.
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
yang-g
0d9f81f741
minor fixes
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
David Garcia Quintas
04ecfa1ad7
Added missing payloads to streaming compressed test
9 years ago
yang-g
e21908fcee
impl
9 years ago
vjpai
2098863a90
Make certain constants unsigned to please compiler on Mac
9 years ago
Julien Boeuf
bf9a8f8d7c
Fixing tests.
9 years ago
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
9 years ago
Julien Boeuf
8fd915ab8d
Adding grpc::string_ref class.
...
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
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
David Garcia Quintas
5fd685556f
Moved methods' impl to header for simplicity
9 years ago
David Garcia Quintas
81491b6043
Removed function introducing dependency on proto in .h
9 years ago
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
9 years ago
David Garcia Quintas
2a6427ffdb
removed foreach loops for gcc 4.4
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
Julien Boeuf
c2274e7069
Adding C++ auth metadata processor.
...
- We always do the processing asynchronously but maintain a synchronous
API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
object in grpc++ would really help with that (as we would use it for
C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
proceed with tests.
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
David Garcia Quintas
864d18650e
proto3 required changes
9 years ago
yang-g
f6befe8690
update the interop test protos and code to proto3
9 years ago