yang-g
807387641f
prevent spurious wake up and unstarted/already shutdown server
2016-07-14 22:59:39 -07:00
yang-g
05573f1692
Make Server::Wait work for async only server.
2016-07-13 22:23:19 -07:00
Vijay Pai
b31a9a0900
Include <cinttypes> for PRIuPTR. Not clear why this is needed.
2016-06-16 07:50:20 +00:00
Vijay Pai
b9e927afcc
Merge branch 'master' into wheezy
2016-06-15 22:57:21 -07:00
Vijay Pai
679c75f0a6
Deal with issues surrounding const members of classes used in
...
containers
2016-06-15 13:10:32 -07:00
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
2016-06-15 12:56:38 -07:00
vjpai
97da6473b4
Manual clang-format
2016-06-13 09:56:26 -07:00
Yuchen Zeng
beaa35724c
Fix type mismatch for type_size
2016-06-10 15:46:14 -07:00
Yuchen Zeng
0ba114408e
Fix gpr_log format mismatches in c++ tests
2016-06-10 15:15:44 -07:00
Vijay Pai
15855f3e7f
Switch server builder plugin API to something that will work with gcc4.4
2016-06-10 12:25:32 -07:00
yang-g
15759f610e
Let Next set ok=true when receiving error status
2016-06-01 11:21:27 -07:00
David Klempner
6fb122dc6e
Add calls to grpc_recycle_unused_port to two of the tests which call
...
grpc_pick_unused_port a lot.
2016-05-13 15:24:17 -07:00
Yuchen Zeng
26a1785cfc
Resolve conflicts
2016-05-06 15:50:15 -07:00
Craig Tiller
e4d2748f2f
Fix async_end2end_test flow control
...
Completion queues + flow control + single threading is hard.
We need a read outstanding on a call to grant flow control tokens to the
remote end.
To do that we need to request a read *before* we wait for the write to
be finished, otherwise, in the case of a large write we'll block waiting
for flow control tokens.
Built on #6402
2016-05-03 12:19:33 -07:00
Vijay Pai
d7b1e704a8
Cover large message sent securely or insecurely over async
2016-05-02 15:10:21 -07:00
Vijay Pai
df8b62cea7
Add coverage for secure async end2end testing
2016-05-02 14:34:24 -07:00
Yuchen Zeng
a42ec21341
Server builder plugin
2016-04-29 13:05:36 -07:00
Craig Tiller
4c43ed325c
Merge github.com:grpc/grpc into cleaner-posix2
2016-03-31 13:12:41 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
f45496fdb0
Fix include path
2016-03-30 07:41:19 -07:00
Craig Tiller
9533d042d4
Fix includes
2016-03-25 17:11:06 -07:00
Craig Tiller
7cd6ed7da3
Merge github.com:grpc/grpc into cleaner-posix2
2016-03-16 07:53:26 -07:00
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-07 10:51:02 -08:00
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
2016-03-04 14:32:50 -05:00
Vijay Pai
dbf47fabd4
Better comments.
2016-03-03 16:25:06 -08:00
Vijay Pai
2e729387f7
clang-format
2016-03-03 14:22:12 -08:00
Vijay Pai
13ee2f2df3
Properly integrate async API with server-side cancellations.
...
There is a comment above IsCancelled that says when it is ok to use this.
2016-03-03 13:57:32 -08:00
Craig Tiller
7c07aacb0f
Fix async e2e
2016-02-25 20:18:53 -08:00
yang-g
ad0df7bf1f
Discard the read buffer on stream error
2016-02-22 10:00:20 -08:00
Vijay Pai
b65eda4c88
Make the poll override function assert on non-zero timeout if invoked
...
from the end2end test thread itself (done by adding a TLS on that thread)
Also clang-format
2016-02-16 13:49:22 -08:00
Vijay Pai
018879aa9a
Set up poll overrides
2016-02-16 09:20:50 -08:00
vjpai
cf4daebe27
Comment the requirements for changing grpc_poll_function and do
...
poll overrides in such a way as to avoid polling races
2016-02-15 02:33:54 -08:00
Craig Tiller
6f87164f3c
Properly handle "." in metadata
2016-02-03 16:15:31 -08:00
Sree Kuchibhotla
369a04ace6
Address code review comments
2016-02-01 10:53:13 -08:00
Sree Kuchibhotla
0f242acb9d
Comments and a minor fix
2016-01-29 18:13:33 -08:00
Sree Kuchibhotla
4fb590852f
Use the same completion queue for both client and server
2016-01-29 11:16:24 -08:00
Sree Kuchibhotla
944f4cf14e
Sync server end2end and async_end2end tests
2016-01-28 17:37:10 -08:00
yang-g
25f191d49b
merge with head
2016-01-14 11:51:11 -08:00
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
2016-01-13 22:52:17 -08:00
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
yang-g
dc548ed65d
merge with head
2016-01-13 10:42:19 -08:00
murgatroid99
3466c4b55d
Updated copyrights
2016-01-12 10:26:04 -08:00
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
2016-01-07 12:45:32 -08:00
Craig Tiller
54ed674d40
Merge github.com:grpc/grpc into proto_names
2016-01-06 17:05:34 -08:00
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
2015-12-22 13:49:30 -08:00
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
2015-12-14 12:02:50 -08:00
vjpai
017ed62ce4
Cover an unsupported case of mixing sync and async service in same server
2015-12-09 10:42:54 -08:00
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
2015-10-12 14:09:13 -07:00
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00