Commit Graph

425 Commits

Author SHA1 Message Date
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 f86bbdefc9 Merge pull request #6373 from y-zeng/server-builder-plugin
Server builder plugin
2016-05-11 17:26:29 -07:00
yang-g 39e71c33d1 fix compiling error 2016-05-10 10:21:41 -07:00
Yuchen Zeng 26a1785cfc Resolve conflicts 2016-05-06 15:50:15 -07:00
Yuchen Zeng 7d099a5c90 Fix naming and comment problems 2016-05-06 13:21:36 -07:00
yang-g 080528abb7 Add parsing back to protobuf example 2016-05-06 13:12:00 -07:00
yang-g 4c07008610 Add a test for server returning error with debug info in trailer. 2016-05-05 23:35:20 -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
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -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 c049035bed Add GRPC_ prefix for macros 2016-04-29 14:05:08 -07:00
Yuchen Zeng 018bf1a864 modified has_async_methods and has_sync_methods of TestServerBuilderPlugin 2016-04-29 13:39:17 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
Craig Tiller eb9b6dbf11 Merge branch 'master' into ignore_connectivity 2016-04-04 23:28:28 -07:00
Craig Tiller 75dbc1eb67 Fixes 2016-04-01 13:01:26 -07:00
Craig Tiller 399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Craig Tiller 1a2c5aa9ef Merge github.com:grpc/grpc into cleaner-posix2 2016-04-01 07:18:35 -07:00
Jan Tattermusch 4da87600dc Merge pull request #6041 from vjpai/i_know_virtual_destructors
Add virtual destructor to satisfy a requirement of some compilers
2016-03-31 17:54:43 -07:00
Craig Tiller 4c43ed325c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-31 13:12:41 -07:00
vjpai bd06e441cc Add virtual destructor to satisfy a requirement of some compilers 2016-03-31 09:33:51 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller e50d7be28c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-30 08:34:37 -07:00
Craig Tiller f45496fdb0 Fix include path 2016-03-30 07:41:19 -07:00
Vijay Pai 98f2f754b8 Used TYPED_TEST to parametrize
Include all 4 sync/async client/server combos
2016-03-29 00:54:11 -07:00
Vijay Pai 40d1a2cb87 clang-format 2016-03-29 00:38:09 -07:00
Vijay Pai bbbbf621e4 Add a concurrent test for sync client, async server case 2016-03-29 00:35:26 -07:00
Craig Tiller 8a03448a8c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-28 16:09:04 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
yang-g f64befd27f Make a copy of ByteBuffer when writing 2016-03-21 14:04:10 -07:00
Craig Tiller 7cd6ed7da3 Merge github.com:grpc/grpc into cleaner-posix2 2016-03-16 07:53:26 -07:00
Jan Tattermusch 39b082ae8c Merge pull request #5652 from grpc/revert-5599-revert-5572-srv_ctx
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-15 14:03:54 -07:00
Paul Querna 47d841de4d Add support for IP Addresses in Subject Alt Names. 2016-03-14 16:40:17 -07:00
Craig Tiller 4560bda1da Merge github.com:grpc/grpc into cleaner-posix2 2016-03-07 20:17:10 -08: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
Dan Born 51221f1e7e clang reformat. 2016-03-03 17:44:50 -08:00
Dan Born f2f7d57c01 Allow use of alternative credential types. 2016-03-03 17:26:12 -08: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
Yang Gao e788e8bf8d Merge pull request #5523 from vjpai/e2e_stc
Fix ServerTryCancel in end2end tests
2016-03-02 07:45:45 +00:00
Vijay Pai 6c016efa34 ServerTryCancel was not actually respecting the API since it
could be an arbitrary amount of time between when the cancel is tried
and actually observable.
2016-03-01 16:27:53 -08:00
Sree Kuchibhotla 8d543e8e30 Fix ResponseStreamServerCancelAfter test flake 2016-02-29 18:22:25 -08:00
Craig Tiller 7c07aacb0f Fix async e2e 2016-02-25 20:18:53 -08:00
Vijay Pai bdfec2c86c SimultaneousReadWritesDone test was not observing the contract on the
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
2016-02-25 11:51:21 -08:00
yang-g ad0df7bf1f Discard the read buffer on stream error 2016-02-22 10:00:20 -08:00
Craig Tiller fc6fec2a2d Merge pull request #5258 from vjpai/poll_override2
Avoid a race when overriding default poll function
2016-02-21 22:59:52 -08:00
yang-g 4c8aed3dba Add a helper to return all the secure types 2016-02-19 00:19:39 -08:00