Craig Tiller
759026cbf0
Server API simplification
...
Remove 'secure_serer_create', and instead attach credentials to ports, meaning different ports can serve different credentials.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago
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
Craig Tiller
fe8af4e2e9
Rename interop_test.c --> interop_test.cc
...
We have many assumptions about languages baked into the test system, and we want this test harness to trigger when testing C++ stuff, so it needs to be written in C++.
10 years ago
Masood Malekghassemi
b13673dd7a
Added compiler plugin test for Python.
10 years ago
Craig Tiller
2f3e2ec865
Make interop server respond to sigint
...
This will allow the test to shut down cleanly, and avoid failing.
10 years ago
Yang Gao
bbd67c0499
clean up some internal path and names
10 years ago
vjpai
5b47818d93
Some compilers not happy with <:: and need < :: instead
10 years ago
Craig Tiller
16a6ea6bc0
Ensure interop tests are run as part of run_tests
...
I'm honestly a little shocked this wasn't done previously.
10 years ago
Craig Tiller
54f9a65f1e
32 bit compilation fixes for core
10 years ago
Julien Boeuf
25380de72d
Adding tool for generating JWTs on the command line.
10 years ago
Nicolas "Pixel" Noble
7e80efcb3d
Making the usage of gflags uniform across distributions.
10 years ago
Nicolas "Pixel" Noble
ba6082080c
Fixing gflags' include path.
10 years ago
Julien Boeuf
f47a5cb93d
Implementing JWT credentials (a.k.a JWT ID Tokens).
...
- Not tested end to end yet
10 years ago
Yang Gao
0d1e2f2ad9
remove prod_roots_certs.c since it is not used anywhere
10 years ago
vjpai
d5577aac67
More typecasts to avoid sign-comparison problems on EXPECT_EQ
10 years ago
vjpai
c1231eb543
Include typecasts so that int and size_t are not compared (since their
...
signs don't match)
10 years ago
Julien Boeuf
90bd7c4c4d
Fixing sprintf and a few other things.
10 years ago
Craig Tiller
0fcd53c701
Fix a TSAN reported error
...
We now pass down pointers to closures instead of (callback, arg) pair
elements separately. This allows us to store one word atomically, fixing
a race condition.
All call sites have been updated to the new API. No new allocations are
incurred. grpc_fd_state is deleted to avoid any temptation to ever add
anything there again.
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
9be83eec1d
Fix use-after-free.
...
Transport and channel have different lifetimes, but share a metadata
context.
Make the metadata context ref counted, and have transport take a ref.
10 years ago
Craig Tiller
efad8fadd3
Spam cleanup, test speedup
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Craig Tiller
ce5021b0b9
Add missing new-lines at end of file
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
da699b8bc1
do not leak reader or writer
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
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
2d9c51242a
Add mixed shutdown/init test
10 years ago
Craig Tiller
35108f6527
Allow grpc_init to be called multiple times
10 years ago
Craig Tiller
32223cf5e1
Fix fling test leaks
10 years ago
Craig Tiller
ad1fd3a49e
Add proto copyrights
10 years ago
Craig Tiller
c2c792113e
Add copyrights to Python code
10 years ago
Craig Tiller
1a61b17afd
Copyright checker
...
Update LICENSE text to 2015, implement a checker that validates
whether a 2014 or 2015 version of the license is on each {.c,.cc,.h} file.
Fix the ones that are missing it.
10 years ago
Nathaniel Manista
1d1f952731
The Python interoperability testing server.
10 years ago
Craig Tiller
8f9aaa9206
Accidental change fixed
10 years ago
Craig Tiller
d209ed0e55
clang-format
10 years ago
Craig Tiller
ae7fe92389
Unix domain socket support
10 years ago
Yang Gao
406b32f663
Add missing APIs and a first metadata test, and test passes
10 years ago
Craig Tiller
857680be2c
Compile fixes
10 years ago
Yang Gao
0e0d8e11e6
add a simple server streaming e2e test, which passes
10 years ago
Abhishek Kumar
a2d9ed0d91
Addressed review comments
10 years ago
Yang Gao
005f18a6a1
change ServerAsyncReader API and add a simple clientstreaming test, it passes
10 years ago
Abhishek Kumar
e3dd33ff8c
clang formatting
10 years ago
Abhishek Kumar
445612ec18
Btach handling of unary
10 years ago
Abhishek Kumar
4151cac013
Initial draft of server using new async API
10 years ago
Yang Gao
c05b6cb89d
add a bidi test and simplify the test a bit, test passes
10 years ago
Yang Gao
bb84a30f07
let the client/server use their own cq and pretty the test
10 years ago
Craig Tiller
0220cf14b0
Add end2end async unary single threaded test (compiles)
10 years ago