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
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
David Garcia Quintas
a570d6334d
Fixes to comments and to examples
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
David Garcia Quintas
14111e9da1
Added grpc++.h with mainpage docs.
...
Minor fixes to previously existing docs.
10 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
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
David Garcia Quintas
3306bcd1a1
Docs for streams + exposed auth properties
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
David Garcia Quintas
c4de3a2c24
Docstrings for Channel, ChannelCreate and ChannelArguments.
10 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
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
David Garcia Quintas
82bdd3f239
First pass.
10 years ago
David Garcia Quintas
1678c58183
wip
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
1eeb21c4df
api change to string_ref
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
David Garcia Quintas
3068af2981
wip
10 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
10 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
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
yang-g
431f8c2b5f
make registermethod private
10 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
10 years ago
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
10 years ago
yang-g
b9b9d6ee8e
add a README for include/grpc++/impl
10 years ago
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
10 years ago
Craig Tiller
d6c98df792
clang-format all source
10 years ago
Julien Boeuf
bc265583d6
Addressing comments. Thanks Yang!
10 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.
10 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.
10 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
10 years ago
yang-g
0c034a01d1
client code clean up
10 years ago
David Garcia Quintas
beac88ca56
Server: added the ability to disable compression algorithm
10 years ago
yang-g
ffc8a6b431
move auth property iterator declaration into auth_context.h
10 years ago