Yang Gao
b57f72dbee
resolve comments
10 years ago
Yang Gao
26a4912558
Add fake credentials to the test and verify it actually works
10 years ago
Yang Gao
280ca17d79
resolve comments
10 years ago
Yang Gao
a89389283f
support per call credentials in c++
10 years ago
Craig Tiller
f51199f2b9
Increase test timeout
10 years ago
Craig Tiller
fb775b80cb
Fix test
10 years ago
Craig Tiller
3676b38183
Lose redundant tag on unary calls
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
Craig Tiller
0c23320c8a
Split thread stress from end2end to improve parallelism
10 years ago
Yang Gao
196ade3e4d
add a test using the mock interfaces
10 years ago
Yang Gao
c71a9d2b56
clang-format
10 years ago
Yang Gao
3921c56bee
Expose max message size at the server side
10 years ago
Craig Tiller
81e57d9acf
Add a thread stress end2end test
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
10 years ago
Abhishek Kumar
a1d3a72930
fixed indentation
10 years ago
Yang Gao
3b3097fb7a
Remove an extra unref
10 years ago
Craig Tiller
12088b26d9
Tweak tests
10 years ago
Abhishek Kumar
18298a7440
Fixed flakes due to OK racing with cancel
10 years ago
Abhishek Kumar
e41d0402ba
Added end2end test for server streaming rpc cancellation.
10 years ago
Abhishek Kumar
82a83313db
Added test case demonstrating cancel on bidi stream
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Nicolas "Pixel" Noble
a05b8b7b25
Removing a few more references to #include <chrono>
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Yang Gao
0c4b0ddcc5
Add tests with delayed cancellation from client and server
10 years ago
Vijay Pai
92a928fa68
Make string construction explicit as implicit conversion doesn't work in 4.4
10 years ago
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
993d540e37
covert test to use generic stub
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Yang Gao
45c09db87c
sort the tags, this is not necessary, just make it look better
10 years ago
Yang Gao
9fbbc7bb13
add one bidi test
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
0cb6c25e71
A first test with typed async client and untyped service for a simple rpc
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
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
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
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
vjpai
d5577aac67
More typecasts to avoid sign-comparison problems on EXPECT_EQ
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