Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
2015-07-14 13:52:48 -07:00
vjpai
df551611d4
Remove reference to nullptr to avoid compiler seeing ambiguity in gcc-4.4
...
build. The issue is that gcc below 4.6 require us to explicitly define nullptr,
and our explicit definition allows a potential confusion between
nullptr->unique_ptr<string> and
nullptr->char *->grpc::string->unique_ptr<string>
2015-07-14 13:38:44 -07:00
Vijay Pai
d1c9254029
Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
...
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
Craig Tiller
080d6c50bb
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-10 10:23:10 -07:00
Craig Tiller
d0955f36dc
Compile fix for Mac
2015-07-10 07:52:37 -07:00
yang-g
3315a845ef
Merge remote-tracking branch 'upstream/master' into security_context2
2015-07-09 12:32:48 -07:00
Craig Tiller
5cc175f08e
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-09 08:48:35 -07:00
yang-g
85c04f938f
resolve comments
2015-07-07 17:47:31 -07:00
Craig Tiller
822d2c7beb
Support registering services against specific hosts
2015-07-07 16:08:00 -07:00
yang-g
c4eef2eae8
add a test case in end2end_test
2015-07-06 23:26:58 -07:00
Craig Tiller
20b5fe9282
Fixup C++
2015-07-06 10:43:50 -07:00
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-25 14:39:01 -07:00
Yang Gao
c1a2c314fb
Update the Status API
2015-06-16 10:59:46 -07:00
Yang Gao
69fe0759be
Various minor fixes
2015-06-01 14:32:38 -07:00
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.
2015-05-20 23:13:17 -07:00
Yang Gao
b57f72dbee
resolve comments
2015-05-17 21:54:54 -07:00
Yang Gao
26a4912558
Add fake credentials to the test and verify it actually works
2015-05-15 17:02:56 -07:00
Yang Gao
280ca17d79
resolve comments
2015-05-15 10:25:10 -07:00
Yang Gao
a89389283f
support per call credentials in c++
2015-05-14 11:51:07 -07:00
Craig Tiller
0c23320c8a
Split thread stress from end2end to improve parallelism
2015-05-06 07:42:43 -07:00
Yang Gao
c71a9d2b56
clang-format
2015-05-04 00:22:12 -07:00
Yang Gao
ea13af73e0
merge with head
2015-05-01 11:34:45 -07:00
Yang Gao
3921c56bee
Expose max message size at the server side
2015-04-30 16:07:06 -07:00
Craig Tiller
81e57d9acf
Add a thread stress end2end test
2015-04-29 16:34:13 -07:00
Craig Tiller
7305dc69e6
Merge pull request #1227 from nicolasnoble/the-purge-2
...
Refactoring std::chrono out.
2015-04-24 17:57:49 -07:00
Yang Gao
fa74ec4617
Merge pull request #1359 from a11r/cc2
...
Test client stream cancellation and fix bug exposed by the test.
2015-04-24 15:16:51 -07:00
Nicolas "Pixel" Noble
fd2bf675f7
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble
23be280366
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
src/cpp/client/channel.cc
vsprojects/vs2010/grpc++.vcxproj
vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
2015-04-23 14:59:49 -07:00
Craig Tiller
bab1d2cf5f
Merge pull request #1307 from a11r/streamcancel
...
Added e2e tests for server and bidi stream cancellation.
2015-04-23 14:15:41 -07:00
Abhishek Kumar
a1d3a72930
fixed indentation
2015-04-23 10:24:04 -07:00
Craig Tiller
12088b26d9
Tweak tests
2015-04-20 09:51:27 -07:00
Abhishek Kumar
18298a7440
Fixed flakes due to OK racing with cancel
2015-04-17 15:00:25 -07:00
Abhishek Kumar
e41d0402ba
Added end2end test for server streaming rpc cancellation.
2015-04-17 14:12:33 -07:00
Abhishek Kumar
82a83313db
Added test case demonstrating cancel on bidi stream
2015-04-17 13:30:51 -07:00
Nicolas "Pixel" Noble
b7c2035e83
Merge branch 'master' of https://github.com/grpc/grpc into the-purge-2
...
Conflicts:
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
test/cpp/interop/client.cc
2015-04-11 01:53:09 +02:00
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
2015-04-09 23:08:51 +02:00
Nicolas "Pixel" Noble
a05b8b7b25
Removing a few more references to #include <chrono>
2015-04-08 09:07:20 +02:00
Nicolas Noble
89219162dd
Refactoring std::chrono out.
2015-04-08 05:42:08 +02:00
Yang Gao
0c4b0ddcc5
Add tests with delayed cancellation from client and server
2015-03-30 13:08:34 -07:00
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
2015-03-25 10:36:16 -07:00
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.
2015-03-19 04:21:22 +01:00
Craig Tiller
61691f92c3
Merge github.com:grpc/grpc into credit
2015-03-02 08:51:52 -08:00
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
2015-02-26 14:27:05 -08:00
Craig Tiller
25f6cd7a97
Merge github.com:grpc/grpc into credit
...
Conflicts:
examples/pubsub/publisher_test.cc
examples/pubsub/subscriber_test.cc
include/grpc++/create_channel.h
src/cpp/client/create_channel.cc
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
test/cpp/util/create_test_channel.cc
2015-02-24 08:12:05 -08:00
Craig Tiller
b9d91eb454
Merge github.com:google/grpc into deprecate-c++
...
Conflicts:
test/cpp/end2end/async_end2end_test.cc
test/cpp/end2end/end2end_test.cc
2015-02-23 17:13:40 -08:00
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.
2015-02-23 13:55:15 -08:00
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
2015-02-23 12:53:39 -08:00
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00