Yang Gao
0cb6c25e71
A first test with typed async client and untyped service for a simple rpc
10 years ago
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
10 years ago
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago
Craig Tiller
a8dc37a2dd
Rename some files
10 years ago
Craig Tiller
d6479d6cc4
Async server works
10 years ago
Craig Tiller
ef63839042
Async client works
10 years ago
Craig Tiller
e38ec21122
Linux compile fix
10 years ago
Craig Tiller
d1e18faefc
Async client progress
10 years ago
Craig Tiller
8856875900
Async client progress
10 years ago
Craig Tiller
f282514389
Print resource utilization
10 years ago
Craig Tiller
d701c5f5c3
Formatting
10 years ago
Craig Tiller
76877c3f66
Generate latencies in driver
10 years ago
Craig Tiller
10923c2fb5
Formatting
10 years ago
Craig Tiller
6af9ed0bf7
Rework QPS client/server
...
Now setup as a driver and N anonymous workers that may become clients or servers.
Will convert async soon.
10 years ago
Craig Tiller
26598a394a
WIP
10 years ago
Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec
.
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
10 years ago
Yang Gao
25770b02d6
add jwt token creds test_case
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
10 years ago
vjpai
cd801c8531
<:: -> < ::
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
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