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
1ebb7c885e
Hand-written changes
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
yang-g
cf44bb5027
use millis to protect against potential overflow
9 years ago
yang-g
edd4667348
Reduce a timeout causing overflow
9 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
9 years ago
yang-g
0d9f81f741
minor fixes
9 years ago
Craig Tiller
3d5ba2f499
Make port_windows compile again
9 years ago
Craig Tiller
1e27e7d605
Use port server on windows
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
Julien Boeuf
c17fecd224
Fixing tests.
9 years ago
Craig Tiller
be95249350
Cleanup test, initialize correctly
...
Test was failing on mac because gpr time code was not initialized. Whilst here, clean up the test so that I can understand it again.
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
David Garcia Quintas
fe5f25490d
Improvements to the grpc_channel_args_compression_algorithm_set_state api
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
9 years ago
Craig Tiller
bc85be10ef
Refactor default host name resolution
...
Rephrase API's such that resolvers are constrained to be able to provide a
default host given just the text of the URI channel target.
This avoids needing to rewrite such details in the core library during
retries, and generally makes things much saner to debug.
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
592e7f2dd0
Refactor Endpoint API
...
- Allow reads to complete immediately
- Unify read/write signatures
- Simplify memory management to allow future optimization work
9 years ago
David Garcia Quintas
a4c4f02a63
Added C API functions for compression args handling (w/ tests)
9 years ago
yang-g
d392fa04c5
fix shutdown_test
9 years ago
David Garcia Quintas
2bfd275b2b
sockaddr_resolver now supports comma-separated list of IPs
9 years ago
Julien Boeuf
ee3dbb0078
Have a richer interface for auth metadata processors.
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
4275899297
Sprinkle reserved = NULL around
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
David Garcia Quintas
cddd95bfd8
Renamed "none" as "identity" for the no-op compression algorithm for consistency with the spec
9 years ago
Hongwei Wang
85ad685e57
Address comments and update grpc plugins
9 years ago
Robbie Shade
00436a256d
Update to latest API changes.
9 years ago
David Garcia Quintas
864d18650e
proto3 required changes
9 years ago
Nicolas "Pixel" Noble
bb3aed0ef9
Removing gpr_cancelable.
9 years ago