Commit Graph

33 Commits

Author SHA1 Message Date
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Vijay Pai 075b18e77f Bug fix on failure condition 2016-10-13 12:05:40 -07:00
Vijay Pai db5b1cbc94 Add all plumbing and typedef's for controlled server-side streaming 2016-10-03 09:18:46 -07:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Mark D. Roth 3ad6188920 Fix a few lingering references to max_message_size. 2016-09-06 13:03:39 -07:00
David Garcia Quintas d10f1775eb Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-03 12:42:02 +02:00
David Garcia Quintas e3817f4fd1 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-31 00:25:29 +02:00
Vijay Pai 77073ce99f clang-format 2016-08-30 10:26:30 -07:00
Vijay Pai de2aec8106 Merge branch 'master' into fc_unary
Resolve conflicts in ServerReaderWriterInterface
Remove file server_streamed_unary.h and merge with sync_stream.h
2016-08-30 10:20:20 -07:00
Yuchen Zeng 59e835d431 Add comments 2016-08-19 15:23:23 -07:00
Yuchen Zeng e0705e2dc2 Add ServerReaderWriterInterface 2016-08-19 15:13:43 -07:00
Vijay Pai 5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai 581097fe0d Make FCUnary and ServerReaderWriter derived classes of a new
ServerReaderWriterInterface so that some functions can be made
to accept either.
2016-08-04 10:50:51 -07:00
Vijay Pai 666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
Vijay Pai 2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
David Garcia Quintas 440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
vjpai fcb98a578c Add NextMessageSize method to all readable streams as an upper-bound
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
vjpai bd28936c86 Properly handle reviewer comment re concurrent Read 2016-06-21 18:03:37 -07:00
vjpai ef01edf5b7 Fix review comments 2016-06-21 16:42:08 -07:00
vjpai b9df2760ed Add proper documentation of ordering and thread-safety for
streaming (sync and async) APIs
2016-06-17 00:27:00 -07:00
yang-g 15759f610e Let Next set ok=true when receiving error status 2016-06-01 11:21:27 -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 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
David Garcia Quintas 9eef377865 clang-format 2016-03-09 11:31:02 -08:00
David Garcia Quintas b942640497 clang-format 2016-03-08 16:25:11 -08:00
David Garcia Quintas 6848c4e145 wip. prior to cq refactoring 2016-03-07 17:10:57 -08:00
Craig Tiller a44cbfc11c Fix race condition in transport API
Specifically:

Receiving trailing and initial metadata had to be published in
lock-step.
=> If we wanted trailing metadata, we might not get initial metadata processed
   until messages arrived.
=> Compression code had no idea what codec to use.

To fix it, publish initial metadata as soon as it's ready (this is a
transport API change).

Requires changes to grpc_call to ensure ordering in processing initial
metadata and messages (one may be delayed).

Exposed at least some bugs in C++ where we never read initial metadata.

I expect at least one more similar bug.
2016-02-03 16:02:49 -08:00
David Garcia Quintas 6523391782 sanity fixes 2016-01-27 20:07:36 -08:00
David Garcia Quintas 6bd7b97dc6 DONE!!1one 2016-01-27 19:21:12 -08:00