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
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
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
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
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
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
yang-g
0c034a01d1
client code clean up
9 years ago
yang-g
ffc8a6b431
move auth property iterator declaration into auth_context.h
9 years ago
yang-g
c8abca8f53
Resolve comments
9 years ago
Craig Tiller
8e5de39fb9
Document finish
9 years ago
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
9 years ago
yang-g
8708dd76c1
Add WaitForState
9 years ago
Craig Tiller
bb5361453f
C++ context propagation
9 years ago
yang-g
a73dc1c708
specialize deadline type and implementation
9 years ago
yang-g
c0f3279175
remove new state ptr
9 years ago
yang-g
88d772c5b8
sync api needs last_observed state too
9 years ago
yang-g
1ae0afccb5
api
9 years ago
yang-g
d45a26ed06
allow null tag
9 years ago
yang-g
b335256444
Add AsyncNotifyWhenDone
9 years ago
yang-g
297a25b0cf
Add StubOptions
9 years ago
Nicolas "Pixel" Noble
4960516c63
Properly initializing reserved pointer in tests.
9 years ago
yang-g
766d9ee148
fix build
9 years ago
Alistair Veitch
100a6e1d82
add struct include/grpc++/server_context.h src/cpp/server/server_context.cc
9 years ago
yang-g
9a009f2a75
make accessors from get_x() to x()
9 years ago