Craig Tiller
4b5c4dbbb8
Drastic speed up
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Julien Boeuf
9fff77e4f8
Addressing comments.
10 years ago
Julien Boeuf
597a4f2273
Verifying the peer name on the X509 Certs correctly.
...
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
the SANs. Will fix the test cert another time...
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Julien Boeuf
c66f2a816e
Addressing iniitial feedback.
...
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
- Adding Cpp wrapping for JWT Tokens.
- Renaming ComposeCredentials -> CompositeCredentials.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Nicolas Noble
a7b8b69d23
Addressing security concerns.
...
-) 0x7f (Backspace) isn't a printable character.
-) use sizeof(var) instead of sizeof(type).
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