Julien Boeuf
cd9b1c850d
Added support for default credentials.
...
- Tested with new tool (print_default_creds_token) on:
- workstation for env var and well known place.
- GCE for compute engine default creds.
- I'd prefer the grpc_default_credentials_create() API to remain
synchronous even though there may be an async call for gce detection
on which we block.
10 years ago
Nicolas "Pixel" Noble
589cba2c7b
Factorizing out function split_host_port.
10 years ago
Julien Boeuf
3e001792fa
Adding roots.pem from Mozilla and associated logic.
...
- The roots.pem file has been generated from
https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
using
https://github.com/agl/extract-nss-root-certs
10 years ago
Nicolas Noble
2c29920e73
Revert "Adding a constant for a well known place where the SSL roots are installed."
10 years ago
Julien Boeuf
d0c0a9d68c
Adding a constant for a well known place where the SSL roots are installed.
10 years ago
Julien Boeuf
f47a5cb93d
Implementing JWT credentials (a.k.a JWT ID Tokens).
...
- Not tested end to end yet
10 years ago
Craig Tiller
2627e4e0a9
Merge with async unary changes
10 years ago
Craig Tiller
e9defd77de
Delete symlink to my home directory
10 years ago
Craig Tiller
d24d13d6eb
Simplify TryPluck
10 years ago
Craig Tiller
c7625b0e5f
Move header #include
10 years ago
Yang Gao
68bc778b63
2015
10 years ago
Yang Gao
3a5e5495e5
Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side.
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Yang Gao
d0d007e6d1
change metadata getters to return const&
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
645466e089
Initial sketch
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
6d5f42e79a
Fix copyright notice
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
10 years ago
Craig Tiller
8ac56c9607
Clarify completion queue laws
10 years ago
Craig Tiller
e7163ab625
Expand comment
10 years ago
Craig Tiller
d251ab9e71
Attempt to better explain secure server creation
10 years ago
Craig Tiller
a0e34a0b90
Expand init/destroy documentation
10 years ago
Craig Tiller
29f2b219a8
Add channel argument documentation
10 years ago
Craig Tiller
aea2fc053d
Fix shutdown semantics.
...
Document what they should be, ensure they're triggered, and fix what was broken.
10 years ago
Craig Tiller
ab294db744
Add some comments
10 years ago
Yang Gao
f2c0ca4c62
Add setter to override authority header on ClientContext
10 years ago
Craig Tiller
573523f127
clang-format
10 years ago
Nathaniel Manista
6d41a054f9
Documentation tweaks in grpc.h.
10 years ago
Yang Gao
406b32f663
Add missing APIs and a first metadata test, and test passes
10 years ago
Nicolas "Pixel" Noble
fbdd7abdca
Cleaning up our posix definition / usage.
...
-) Let's not use _POSIX_SOURCE. It usually implies too much C99. _BSD_SOURCE would be the right thing to do here.
-) _BSD_SOURCE is getting deprecated by glibc, so we also have to define _DEFAULT_SOURCE under Linux.
-) accept4 and eventfd arn't as old as we may think; let's detect for it.
-) stdint.h interferes with all these definitions if included too early; let's move it down.
10 years ago
Craig Tiller
8c22f05f21
Minor compile fix
10 years ago
Yang Gao
005f18a6a1
change ServerAsyncReader API and add a simple clientstreaming test, it passes
10 years ago
Yang Gao
0c7aafaa0c
change AddRecvMessage signature
10 years ago
Yang Gao
c17e861aa0
more nullptr for got_message
10 years ago
Craig Tiller
0220cf14b0
Add end2end async unary single threaded test (compiles)
10 years ago
Craig Tiller
c645306b64
Fixes
10 years ago
Yang Gao
31150f01db
implement async unary call
10 years ago
Yang Gao
cbcc977857
fix sync unary call with metadata pieces
10 years ago
Craig Tiller
ec3257c120
Fix end2end leaks
10 years ago
Yang Gao
068c85b21c
make codegen generate async client calls
10 years ago
Craig Tiller
d4ebeeb7fb
Async server streaming
10 years ago
Craig Tiller
3d6ceb6461
Async server dispatch
10 years ago
Yang Gao
5705fe3fca
Add a cq argument in ClientAsync ctor and give it to the Call
10 years ago
Craig Tiller
1c9a2a91ca
Async API progress
10 years ago
Yang Gao
0b18a8bd4c
typo fix
10 years ago
Yang Gao
106906924f
implement ServerAsyncResponseWriter for unary call
10 years ago
Yang Gao
a38feb9be7
Implement async streaming APIs
10 years ago
Craig Tiller
8c8d0aa1d8
Async API progress
10 years ago
Yang Gao
424bc92e37
implement ClientAsyncX api
10 years ago