Craig Tiller
7221d999bb
Global hook for doing something in response to a synchronous server call
10 years ago
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
10 years ago
Julien Boeuf
caf9935e45
Also adding a credentials type to the plugin API.
...
The purpose of this is to be able to install a composition policy that
describes which types are incompatible and that will be enforced during
call creds composition.
If this functionality is wanted it will be done in an additive function in
the API like :
void grpc_call_credentials_set_composite_policy(
grpc_call_credentials_composite_policy policy);
10 years ago
Craig Tiller
b774be46d7
clang-format
10 years ago
Julien Boeuf
3c957e60a3
Fixing implementations.
10 years ago
Craig Tiller
b113649517
clang-format
10 years ago
yang-g
a89bf50cf1
Handle cancel before start case
10 years ago
Craig Tiller
5925603101
stream_op cleanup: miscellany
10 years ago
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
10 years ago
Craig Tiller
0ba432d445
Move profiling system to gpr
10 years ago
Craig Tiller
1f41b6b5ed
Simplify adding annotations, annotate more things
10 years ago
Craig Tiller
86253ca1da
Latency traces
10 years ago
David Garcia Quintas
7fd0fd5023
C++ Alarm implementation (with tests).
10 years ago
yang-g
b063c87596
mark unreachable code with a macro
10 years ago
Tim Emiola
9908877a73
Update README.mds that don't currently have Status 'Beta'
10 years ago
Vijay Pai
e547bdf4d7
Fix an assert
10 years ago
Vijay Pai
e57abcfbdb
C++ changes required to maintain gcc4.4 compatibility - reduce use
...
of ambiguous nullptr, eliminate use of brace initializer lists
10 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
10 years ago
Craig Tiller
cc5dc5bbaf
Fast path for proto serialization for small protos
10 years ago
Craig Tiller
ddf3a511aa
Add clang-format to sanity
10 years ago
Craig Tiller
04456843cd
Windows fixes
10 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.
10 years ago
Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
10 years ago
yang-g
61e461e890
Guard against empty vector
10 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
10 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
10 years ago
yang-g
deb3d2255d
Add missed header
10 years ago
Konstantin Podsvirov
dc90c13bec
Move static value grpc::string_ref::npos definition to cc file
10 years ago
Julien Boeuf
2d041188db
Design and implementation of the core credentials plugin API.
...
- We use C++ as an example to show how this API can be used while still
providing an idiomatic interface in the wrapped language of choice.
- No testing yet.
10 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
10 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).
10 years ago
David Garcia Quintas
c5318a2aa7
MOAR COMMENTS
10 years ago
yang-g
730055d962
implementation fix
10 years ago
yang-g
dafcce980d
channel creation API change
10 years ago
Julien Boeuf
35b559f6f7
Aligning C++ interface with C for the auth metadata processor.
10 years ago
yang-g
0d9f81f741
minor fixes
10 years ago
Craig Tiller
47ec9a40ad
Add ostream support for string_ref
10 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.
10 years ago
Julien Boeuf
c5b570f97e
Adding void* at then end of security related method in order to have a stable ABI.
10 years ago
yang-g
d090fe1379
auth context api change for string_ref
10 years ago
yang-g
e21908fcee
impl
10 years ago
yang-g
d5539ec6e2
remove constexpr since gcc 4.4 or vs2010 does not support it
10 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.
10 years ago
yang-g
9d1f0c4a0c
Fix merge failures
10 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
10 years ago
Craig Tiller
849c7ca4b2
prettify comment
10 years ago
yang-g
9e2f90cd06
headers reorg
10 years ago
yang-g
c317f07b56
Make Channel ctor private
10 years ago
yang-g
ef00308e39
remove internal_stub
10 years ago
yang-g
c2bd8a6d1a
Fix server side and generic stub
10 years ago