Craig Tiller
20b5fe9282
Fixup C++
10 years ago
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
10 years ago
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Yang Gao
69fe0759be
Various minor fixes
10 years ago
David Garcia Quintas
feb67f67dc
Replaced std::this_thread::sleep_for for gpr_sleep_until.
...
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
10 years ago
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
0c23320c8a
Split thread stress from end2end to improve parallelism
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
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
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
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
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
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
857680be2c
Compile fixes
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
Craig Tiller
4d0fb5f1c0
Fixup callers with new api
10 years ago
Craig Tiller
f8ac5d846c
Fixup callers with new api
10 years ago
Craig Tiller
7b01878736
Fix returned status
...
The client should return status deadline exceeded when the deadline is
exceeded (not cancelled status)
10 years ago
Craig Tiller
14e60e9f8b
Use C signal handling in C++ end2end
10 years ago
Craig Tiller
0a00a08c53
Use C signal handling in C++ end2end
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago
Craig Tiller
35e3971e89
Make this file compile
10 years ago
yangg
1b151096d1
Add impl subdirectory under public and move headers that need to be installed
...
to it.
Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83640373
10 years ago
yangg
4105e2b86c
Add ServiceAccount Credentials wrapping and handle credentials creation
...
failure.
Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634736
10 years ago
yangg
1456d15221
Add a test to export two TestService on the same server, only with different
...
package names. Make sure they work as intended.
This is based on []
Change on 2015/01/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83558743
10 years ago
yangg
ed5e7e006b
Add deadline API on server side.
...
Change on 2015/01/06 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83351442
10 years ago