Commit Graph

221 Commits

Author SHA1 Message Date
Yash Tibrewal 130eeeaeb9 Merge branch 'master' into interceptors_initial 2018-10-02 14:49:17 -07:00
Vijay Pai e04a819c12
Merge pull request #16657 from g-easy/deadline
Document that set_deadline() uses absolute time.
2018-10-01 18:58:44 -07:00
Yash Tibrewal b741edf37e Error fixes 2018-09-27 17:34:19 -07:00
Yash Tibrewal a1598c5abf Create interfaces and initial plumbing for interception API 2018-09-26 19:25:30 -07:00
Mark D. Roth be1ce0c4cc Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
This reverts commit de11358660, reversing
changes made to 107d10ea73.
2018-09-25 11:42:57 -07:00
Vijay Pai 17fc4d4029 Address reviewer comments 2018-09-20 10:52:48 -07:00
Vijay Pai 0db69018b0 Use GPR_CODEGEN_ASSERT in impl/codegen 2018-09-20 00:58:29 -07:00
Vijay Pai fc1e35444b Reset status field in tag as well as func 2018-09-20 00:39:49 -07:00
Vijay Pai 9e6511ae2e Make the core callback interface API so that it can be used in generated code 2018-09-19 23:57:56 -07:00
easy 0131c7bbb3 Document that set_deadline() uses absolute time. 2018-09-19 14:26:59 -07:00
Yash Tibrewal d177c8fe46
Merge pull request #16384 from yashykt/doc1
Improve documentation on lifetime of message and status
2018-09-18 14:26:08 -07:00
Vijay Pai 73d89a66f9 Catch exceptions in user callbacks 2018-09-14 16:56:19 -07:00
Yash Tibrewal 5f2bb7a7d4 s/GRPC/gRPC 2018-09-12 11:14:18 -07:00
Vijay Pai 3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
EXPERIMENTAL: C++  generic client-side unary callback API
2018-09-12 09:03:49 -07:00
Vijay Pai 20778b0c46 Address reviewer comments 2018-09-11 09:14:57 -07:00
Mark D. Roth 42d9becd91
Revert "Second attempt: Implement Watch method in health check service." 2018-09-10 14:06:52 -07:00
Mark D. Roth a8247c833c
Merge pull request #16574 from markdroth/health_checking_service
Second attempt: Implement Watch method in health check service.
2018-09-07 11:53:16 -07:00
Jan Tattermusch 605a42d90a fix #13939 2018-09-05 21:40:58 +02:00
Mark D. Roth 6d2c8f8072 Revert "Merge pull request #16512 from grpc/revert-16351-health_checking_service"
This reverts commit 4ee0f4c790, reversing
changes made to 5ee9b5e7b5.
2018-09-05 10:27:54 -07:00
Noah Eisen 4e6ed86a04
Merge pull request #16407 from ncteisen/lazy-metadata
Lazily Fill Metadata Map
2018-08-31 12:05:16 -07:00
Vijay Pai 5474e92292 Allocate using call arenas 2018-08-31 10:11:38 -07:00
Vijay Pai 6b6bdbbb76 Address reviewer and clang-tidy comments 2018-08-30 15:46:27 -07:00
Vijay Pai 8bf52535d1 Provide a generic client-side unary callback API 2018-08-30 15:46:27 -07:00
Juanli Shen 14a858123d
Revert "Implement Watch method in health check service." 2018-08-29 21:36:41 -07:00
ncteisen 58e99b6377 Use strncmp over grpc_slice_str_cmp 2018-08-29 10:30:31 -07:00
ncteisen ca77fcd7cd Reviewer comments 2018-08-29 07:46:48 -07:00
ncteisen 743d40d635 Lazily fill metadata map 2018-08-28 17:00:20 -07:00
Mark D. Roth 4d985efe19
Merge pull request #16351 from markdroth/health_checking_service
Implement Watch method in health check service.
2018-08-28 11:59:22 -07:00
Mark D. Roth 99ce3e19af Implement Watch method in health check service. 2018-08-28 08:51:52 -07:00
Vijay Pai 3ad8df35f0
Merge pull request #16383 from vjpai/tidy
Cast an index to size_t to avoid sign-conversion warning
2018-08-23 14:59:32 -07:00
Yash Tibrewal f80af5a7c7 Formatting 2018-08-17 14:58:01 -07:00
Yash Tibrewal 356fff684a Improve documentation on lifetime of message and status 2018-08-17 14:55:05 -07:00
Vijay Pai 616b5d798a Cast an index to size_t to avoid sign-conversion warning 2018-08-17 13:38:48 -07:00
Juanli Shen 61dabce400
Merge pull request #16289 from AspirinSJL/warn_api_use
Add warning about AsyncNotifyWhenDone bug
2018-08-16 15:23:36 -07:00
Vijay Pai 14ad82a76d Create a new method handler for resource exhaustion and tie into thread mgr 2018-08-14 16:23:21 -07:00
Vijay Pai bbb97318e8
Merge branch 'master' into callback_cq 2018-08-13 11:07:22 -07:00
Mehrdad Afshari e58d400ba2
Fix type reference in documentation 2018-08-10 17:13:42 -07:00
Mehrdad Afshari b7b1e77943
Fix minor typo in documentation 2018-08-10 14:38:33 -07:00
Vijay Pai e84096bbe5 Experimental infrastructure for callback-based CQ 2018-08-10 14:33:22 -07:00
Juanli Shen 5e9994bf30 Add warning about AsyncNotifyWhenDone bug 2018-08-09 14:40:26 -07:00
yang-g f48d3d5d98 Initialize member in default ctor 2018-07-17 12:06:31 -07:00
Juanli Shen be40b0d3a8 Add server load reporting service 2018-07-13 19:52:59 -07:00
Vijay Pai c5336fcf8b Drop a spurious assert, since ServerReader can SendInitialMetadata 2018-07-06 14:21:14 -07:00
ncteisen 7d474811ab Reviewer feedback 2018-06-29 14:59:59 -07:00
ncteisen a0a59537d2 s/CodegenGeneric/Raw/g 2018-06-28 18:52:01 -07:00
ncteisen 8db7788d46 Merge branch 'master' of https://github.com/grpc/grpc into serialization 2018-06-28 00:12:02 -07:00
Yash Tibrewal 73a124fcfb Wire to socket doc change 2018-06-20 13:34:33 -07:00
ncteisen 0d878eae6c Fix build 2018-06-20 07:59:06 -07:00
ncteisen d170b83e0d Allow AsyncServer with one generic to compile 2018-06-20 07:59:05 -07:00
ncteisen 93a90e6132 Support codegen generic on server side 2018-06-20 07:59:05 -07:00
Vijay Pai 500e3399b6 Address reviewer comments 2018-06-12 00:58:18 -07:00
Vijay Pai 1b8969b973 Add useful comment on ServerInterface::Shutdown 2018-06-12 00:53:19 -07:00
yang-g 801e566622 handle empty slice explicitly 2018-06-08 10:29:07 -07:00
ncteisen 92c4e0fee0 Rename ProtoBuffer helpers 2018-04-12 17:19:54 -07:00
Noah Eisen e91cfed3a2
Merge pull request #14934 from ncteisen/typos
Fix typos
2018-04-09 10:36:10 -07:00
ncteisen cf5b2666e1 Make GrpcProtoBufferReaderWriter public 2018-04-06 07:05:27 -07:00
ncteisen 4a719088ca Fix typos 2018-04-04 10:26:57 -07:00
Ara Ayvazyan 2e3d410846 fixup! Use bbuf_ptr 2018-04-02 11:16:41 -07:00
Ara Ayvazyan 8016d35aca fixup! Fix formatting 2018-04-02 10:56:45 -07:00
Ara Ayvazyan f76069a593 fixup! Fix the payload ownership issue 2018-03-30 10:44:43 -07:00
Ara Ayvazyan 4df7438960 Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer 2018-03-30 10:15:27 -07:00
Vijay Pai a4da2d2a54 Eliminate existence of SneakyCallOpSet, some server cleanup 2018-03-22 19:09:01 -07:00
Vijay Pai cdddc8ce42 Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity) 2018-03-20 08:46:28 -07:00
Vijay Pai ba46afe3e2 Delete status_test that has no coverage; replace with static_asserts 2018-03-15 11:30:59 -07:00
Vijay Pai 589e2cfe09
Update completion_queue.h 2018-03-13 09:52:00 -07:00
makdharma 626a65e877 Added protected default constructor 2018-03-13 09:46:08 -07:00
makdharma 1d603248f2 forgot to add completion_queue.h doh! 2018-03-12 10:37:52 -07:00
makdharma e1a7283dd3 moved Next implementation to CC file. 2018-02-26 14:55:56 -08:00
makdharma 8065000697 Remove "final" keyword and make methods protected.
This adds extensibility to the API and makes custom implementation
of the server possible.
2018-02-23 14:51:46 -08:00
Tobias Jungel f258b56f43 fix non-virtual-dtor
compiling with -Wnon-virtual-dtor works with this patch
2018-02-16 12:42:05 +01:00
Muxi Yan 0e00c43082 Move headers from grpc++ to grpcpp 2018-02-15 14:49:34 -08:00