David Garcia Quintas
7fd0fd5023
C++ Alarm implementation (with tests).
9 years ago
Craig Tiller
ddf3a511aa
Add clang-format to sanity
9 years ago
Craig Tiller
04456843cd
Windows fixes
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
Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
9 years ago
David Garcia Quintas
328deb28de
Removed grpc_security.h from auth_context.h
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
a570d6334d
Fixes to comments and to examples
9 years ago
Konstantin Podsvirov
dc90c13bec
Move static value grpc::string_ref::npos definition to cc file
9 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.
9 years ago
David Garcia Quintas
14111e9da1
Added grpc++.h with mainpage docs.
...
Minor fixes to previously existing docs.
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
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
David Garcia Quintas
c5318a2aa7
MOAR COMMENTS
9 years ago
David Garcia Quintas
3306bcd1a1
Docs for streams + exposed auth properties
9 years ago
yang-g
730055d962
implementation fix
9 years ago
yang-g
dafcce980d
channel creation API change
9 years ago
Julien Boeuf
35b559f6f7
Aligning C++ interface with C for the auth metadata processor.
9 years ago
yang-g
0d9f81f741
minor fixes
9 years ago
David Garcia Quintas
c4de3a2c24
Docstrings for Channel, ChannelCreate and ChannelArguments.
9 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
9 years ago
Craig Tiller
47ec9a40ad
Add ostream support for string_ref
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
David Garcia Quintas
82bdd3f239
First pass.
9 years ago
David Garcia Quintas
1678c58183
wip
9 years ago
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
1eeb21c4df
api change to string_ref
9 years ago
yang-g
d5539ec6e2
remove constexpr since gcc 4.4 or vs2010 does not support it
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
3068af2981
wip
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
9 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
c317f07b56
Make Channel ctor private
9 years ago
yang-g
ef00308e39
remove internal_stub
9 years ago
yang-g
c2bd8a6d1a
Fix server side and generic stub
9 years ago
yang-g
431f8c2b5f
make registermethod private
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
9 years ago
yang-g
b9b9d6ee8e
add a README for include/grpc++/impl
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
Julien Boeuf
bc265583d6
Addressing comments. Thanks Yang!
9 years ago
Julien Boeuf
bf25bb01bb
Few improvements:
...
- Guarantee the lifetime of objects passed to the processor.
- Add an option for implementers of the processor to make it
non-blocking.
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
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago