Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
8ecb170151
Fix that race better
10 years ago
Craig Tiller
2f3fa9acff
Fix linux compile bug
10 years ago
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
10 years ago
Craig Tiller
4ef7a29f31
Create server/client lists
10 years ago
Craig Tiller
4f7a1ff6ad
'Fix' a race
10 years ago
Craig Tiller
e48601934d
Getting the driver pieces in place
...
Driver logic not implemented yet
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
Craig Tiller
5c004c68de
Driver changes
...
WIP - things compile again after a broad set of changes preparing for
the driver code.
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
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
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
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
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
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
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
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
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
ad1fd3a49e
Add proto copyrights
10 years ago
Nathaniel Manista
1d1f952731
The Python interoperability testing server.
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
Yang Gao
005f18a6a1
change ServerAsyncReader API and add a simple clientstreaming test, it passes
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
Craig Tiller
ec3257c120
Fix end2end leaks
10 years ago
Craig Tiller
7418d01de4
Make end2end_test use fewer threads
...
Helps finding interesting threads in gdb much easier
10 years ago
Vijay Pai
4ca479c3a1
Change pointer format
10 years ago
Vijay Pai
c3b02d9a67
Allow varying number of server threads via command line flag
10 years ago
Craig Tiller
4d0fb5f1c0
Fixup callers with new api
10 years ago
Craig Tiller
f8ac5d846c
Fixup callers with new api
10 years ago
Craig Tiller
5319164875
Cleanup
10 years ago
Craig Tiller
1d2e21962e
Server progress
10 years ago
Nicolas "Pixel" Noble
3f36f5e316
Few minor fixes.
...
Fixing a few issues in case you *cough* have a different local implementation of
protobuf, gtest and gflags for some weird reason.
10 years ago