Commit Graph

1239 Commits

Author SHA1 Message Date
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Craig Tiller 68bb6a8453 Merge github.com:grpc/grpc into rollfwd 2017-01-27 06:52:13 -08:00
Craig Tiller 4edd56751f Merge github.com:grpc/grpc into maxmsgsz 2017-01-26 13:50:14 -08:00
yang-g a7198021a6 merge with head 2017-01-26 13:23:52 -08:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Mark D. Roth 448c1f002c Move parameters for all grpc_op types into their own sub-structs. 2017-01-25 10:44:30 -08:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller da9de8988b Merge github.com:grpc/grpc into maxmsgsz 2017-01-20 15:42:47 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
Vijay Pai aeee09eacc Merge pull request #8830 from vjpai/its_compat
C++11: Support compat with 1.0.x generated PB files
2017-01-19 14:07:05 -08:00
Craig Tiller 1d77059e4b Fix integer overflow 2017-01-19 11:44:42 -08:00
Vijay Pai 3cdee02893 Merge branch 'master' into its_compat 2017-01-19 10:42:08 -08:00
Craig Tiller 62f28bfcf0 Remove double-checking of max-message-size in C++ layers 2017-01-19 10:05:13 -08:00
Mark D. Roth f0e17783ae Add ChannelArguments methods for setting max send/recv message size. 2017-01-19 08:41:15 -08:00
Craig Tiller 81eceb31cc Remove bogus assert 2017-01-12 14:27:01 -08:00
yang-g 8a7a4462b1 merge with head 2017-01-11 13:13:23 -08:00
Craig Tiller 0d8e0b138d Merge github.com:grpc/grpc into fix_errors 2017-01-06 13:59:30 -08:00
Craig Tiller e519a03a1f Small improvements to generated documentation 2017-01-06 12:41:21 -08:00
yang-g de3b8a8efb Merge branch 'master' into health 2017-01-04 13:11:18 -08:00
yang-g 8bd6a0542b remove copyright from generated files 2017-01-04 13:10:30 -08:00
Craig Tiller 19cc2db3bc Merge branch 'slice_with_exec_ctx' into metadata_filter 2017-01-04 12:54:34 -08:00
Craig Tiller 709ce70908 Merge github.com:grpc/grpc into slice_with_exec_ctx 2017-01-04 12:53:58 -08:00
Craig Tiller 360f5d2abf Merge pull request #9207 from ctiller/cleanup_closures
Changes to exec_ctx/closure/combiner/workqueue interfaces
2017-01-04 12:53:20 -08:00
Craig Tiller 17f6904bad Merge branch 'slice_with_exec_ctx_and_new_closures' into metadata_filter_and_new_closures 2017-01-04 10:17:31 -08:00
Craig Tiller 0b09341461 Merge branch 'cleanup_closures' into slice_with_exec_ctx_and_new_closures 2017-01-03 09:49:07 -08:00
Craig Tiller 801c6cc548 Fix some NULL usage 2017-01-03 08:13:13 -08:00
yang-g b90631d3f0 more cleanup 2016-12-29 14:12:15 -08:00
yang-g 8e708b12cb WIP 2016-12-29 11:44:36 -08:00
yang-g 50993b7a4c async first take 2016-12-29 10:00:27 -08:00
yang-g f56c251af7 clang-format 2016-12-27 15:37:59 -08:00
yang-g 9bef0740a4 Add test for explicit option 2016-12-27 15:37:59 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
yang-g c9d2954e55 more 2016-12-27 15:37:59 -08:00
yang-g 8d668d8324 default service 2016-12-27 15:37:59 -08:00
yang-g 6486883940 Add more files 2016-12-27 15:37:59 -08:00
yang-g 0498124f8e Add files 2016-12-27 15:37:59 -08:00
David G. Quintas 07383e7e28 Revert "Revert "Reduce memory bloat (each server cq is very expensive)"" 2016-12-17 17:07:37 -08:00
Vijay Pai 0e3f1f1e53 Support compat with old generated PB files 2016-12-13 20:03:53 -08:00
Craig Tiller 18b66a0df6 Revert "Reduce memory bloat (each server cq is very expensive)" 2016-12-12 15:23:41 -08:00
Sree Kuchibhotla e33daabb88 Merge branch 'master' into reduce_cq 2016-12-09 22:42:54 -08:00
Craig Tiller 78bc54e7d9 Fix stack corruption 2016-12-08 15:19:41 -08:00
Craig Tiller cadabdf1f3 Fix include guards 2016-12-08 14:12:28 -08:00
Craig Tiller f658bf0e1b Start resolving memory issues in C++ metadata 2016-12-08 14:11:47 -08:00
Craig Tiller 385dd9a462 Merge branch 'slice_interning' into metadata_filter 2016-12-06 20:27:38 -08:00
Craig Tiller 397bff36b9 Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-06 15:05:59 -08:00
Vijay Pai 6510d47c81 gpr_atm isn't automatically initialized to 0. Thanks Obama. 2016-12-05 14:16:20 -08:00
Vijay Pai bf24dd9e51 clang-format 2016-12-05 13:59:09 -08:00
Vijay Pai cbe1599250 Track requests that could cause other requests to be created, and don't do
a real core shutdown of a CQ until such requests are done
2016-12-05 13:56:29 -08:00
Sree Kuchibhotla 762ce2744c Reduce memory bloat (each server cq is very expensive in C-core layer) 2016-11-29 09:32:20 -08:00
Craig Tiller 73ee7dc559 C++ compiles 2016-11-21 09:12:18 -08:00
Craig Tiller cca7589333 Start moving C++ to slice interfaces 2016-11-21 08:45:38 -08:00
Craig Tiller b28c7e8710 Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-11-18 10:29:04 -08:00
Mark D. Roth ed92f7bc04 Merge pull request #8617 from markdroth/service_config_json
Use JSON tree for service config channel arg.
2016-11-17 11:13:54 -08:00
Craig Tiller c586666cbd Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-11-16 15:25:00 -08:00
Craig Tiller f69369741d Review feedback 2016-11-16 15:03:53 -08:00
Craig Tiller 1016d9feca Merge github.com:grpc/grpc into bm_fullstack 2016-11-16 14:56:34 -08:00
Mark D. Roth 863113a0d9 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-16 14:18:28 -08:00
Yuchen Zeng b1f6bf2ec4 Merge pull request #8086 from y-zeng/fix_gprc
Fix misspelled gprc
2016-11-11 15:11:44 -08:00
Yuchen Zeng 5c1f55af23 Merge pull request #8335 from y-zeng/tos
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Mark D. Roth dc5d60b814 Allow setting service config via C++ API, for use in tests. 2016-11-09 14:43:07 -08:00
Mark D. Roth 4bbdda4444 Allow getting LB policy name and service config in C++ API. 2016-11-09 14:40:22 -08:00
Craig Tiller 5910eee262 Merge github.com:grpc/grpc into bm_fullstack 2016-11-08 08:48:23 -08:00
Craig Tiller 31606bdb34 Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:46:14 -08:00
Craig Tiller 1cb088441a s/std::string/grpc::string/g 2016-11-08 07:05:33 -08:00
Craig Tiller ed9132427a Get user agent right 2016-11-04 16:31:30 -07:00
Craig Tiller 7a4ac73d5b Merge github.com:grpc/grpc into bm_fullstack 2016-11-04 08:44:50 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Yuchen Zeng 64d518e3b0 Merge remote-tracking branch 'upstream/master' into tos 2016-11-02 16:27:49 -07:00
Vijay Pai 739a93e47f Merge branch 'master' into turn_it_to_11 2016-11-02 16:00:52 -07:00
Mark D. Roth 57f30d1518 Merge pull request #8523 from markdroth/lb_policy_name_channel_arg
Allow setting LB policy name via the C++ API
2016-11-02 08:42:23 -07:00
Mark D. Roth 754b2b88bc Code review changes. 2016-11-02 08:39:16 -07:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07:00
Vijay Pai 5c41bab92c Remove references to NO_CHRONO option 2016-11-01 16:57:42 -07:00
Vijay Pai e08fe4f41e Remove separate versions of code based on presence of threading in compiler 2016-11-01 16:50:38 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller 7213aa78da Merge branch 'microbench' into bm_fullstack 2016-11-01 14:55:00 -07:00
Vijay Pai 80b292709c Stop supporting non-C++11 conformant compilers 2016-11-01 13:38:40 -07:00
Yuchen Zeng 0df7d349b7 Merge pull request #8380 from y-zeng/reflection_header
Remove generated pb files
2016-10-31 15:27:48 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Mark D. Roth 7e0c2f8301 Merge remote-tracking branch 'upstream/master' into lb_policy_name_channel_arg 2016-10-31 14:20:01 -07:00
Sree Kuchibhotla 1e088b4219 Merge branch 'master' into rpc_mgr 2016-10-28 17:34:55 -07:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 5b676a6b1a Fix include guards 2016-10-26 21:09:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Mark D. Roth 7190b0c651 Add ChannelArguments::SetLoadBalancingPolicyName() to C++ API. 2016-10-26 12:54:59 -07:00
Craig Tiller 1d0fce9d60 Add some endpoint pair tests 2016-10-26 08:26:22 -07:00
Sree Kuchibhotla 9193119599 Merge branch 'master' into rpc_mgr 2016-10-24 16:18:58 -07:00
Yuchen Zeng 8e386a6999 Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-24 16:17:40 -07:00
Yang Gao 3cb89bcf4b Merge pull request #8281 from gcasto/cronet_cpp_api
Add C++ Api For Cronet
2016-10-24 15:44:55 -07:00
Yuchen Zeng d30699c7be Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-24 13:00:10 -07:00
Sree Kuchibhotla 26ef574874 clang format issues 2016-10-24 12:39:04 -07:00
Sree Kuchibhotla f72ec6b37b Move thread_manager.h header from server.h to server_cc.cc 2016-10-24 11:09:43 -07:00
Sree Kuchibhotla c5fb957e50 Merge branch 'master' into rpc_mgr 2016-10-21 14:38:21 -07:00
Craig Tiller 8f67b647fd Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-20 15:53:04 -07:00
Vijay Pai 9243c74868 Merge pull request #8365 from vjpai/fc_1dstream
Support request separation of server-side streamed RPC
2016-10-20 14:31:14 -07:00
Vijay Pai bcc59f425c Remove a useless forward declaration 2016-10-20 11:38:04 -07:00
Craig Tiller 6952b213b7 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 13:36:59 -07:00
Sree Kuchibhotla da069a506d Rename sync_methods_ to sync_requests_ 2016-10-19 11:22:29 -07:00
Yuchen Zeng 654aa869d2 Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-18 16:29:34 -07:00
Sree Kuchibhotla 385c9b2f05 Address code review comments 2016-10-18 16:26:38 -07:00
Craig Tiller 2f1d8708e5 Header fixes 2016-10-18 16:09:26 -07:00
Sree Kuchibhotla 556aebb1e0 Merge branch 'master' into rpc_mgr 2016-10-18 14:59:24 -07:00
Vijay Pai 9fa9315d62 Merge remote-tracking branch 'upstream/master' into fc_1dstream 2016-10-18 12:15:08 -07:00
Sree Kuchibhotla e4eb51f20c reorder params in Server 2016-10-18 11:51:28 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
yang-g b0db13141e resolve review comment 2016-10-17 13:53:18 -07:00
Yuchen Zeng 799832c32d Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-10-17 11:41:02 -07:00
Garrett Casto 7ec31718f4 Merge remote-tracking branch 'upstream/master' into cronet_cpp_api 2016-10-17 09:56:43 -07:00
Yuchen Zeng 169c985f67 Remove generated pb files 2016-10-14 15:58:09 -07:00
Yuchen Zeng de3daf5d63 More interfaces for grpc_socket_mutator 2016-10-13 17:26:26 -07:00
yang-g 4287998855 Add a test spouse for server context 2016-10-13 16:45:53 -07:00
Vijay Pai 23c5b81268 Other golden file 2016-10-13 15:41:15 -07:00
Sree Kuchibhotla c37a8a56df Fix test 2016-10-13 15:40:15 -07:00
Sree Kuchibhotla d39f40da9e Fix include files 2016-10-13 15:21:14 -07:00
Sree Kuchibhotla 8f7739bcd6 Rename GrpcRpcManager -> ThreadManager 2016-10-13 15:12:55 -07:00
Vijay Pai 96e03110db clang-format 2016-10-13 14:09:16 -07:00
Sree Kuchibhotla 96766195a6 Refactor SyncServerSettings code 2016-10-13 12:42:54 -07:00
Vijay Pai 075b18e77f Bug fix on failure condition 2016-10-13 12:05:40 -07:00
Sree Kuchibhotla e4996d6c43 Merge branch 'master' into rpc_mgr 2016-10-13 11:18:09 -07:00
Vijay Pai 61536a7371 Making split streaming testable 2016-10-13 11:04:57 -07:00
Vijay Pai 22fcbf9663 Merge branch 'master' into fc_1dstream 2016-10-13 09:39:05 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Mark D. Roth 4bcdd73df6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-10-06 07:56:05 -07:00
Yuchen Zeng e96c05b607 Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-10-05 13:44:12 -07:00
Garrett Casto 931a26bf5b Add C++ Api 2016-10-04 09:18:29 -07:00
Sree Kuchibhotla 5f806d321a Merge branch 'master' into rpc_mgr 2016-10-03 15:23:02 -07:00
Sree Kuchibhotla 33382d0f53 Cleanup server_cc.cc 2016-10-03 15:15:49 -07:00
Craig Tiller 1bb0ce5e23 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-03 12:58:02 -07:00
Sree Kuchibhotla 384eea80ba Merge remote-tracking branch 'upstream/master' into rpc_mgr 2016-10-03 09:20:52 -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 4944ee23df Merge remote-tracking branch 'upstream/master' into fail_fast 2016-09-30 10:47:24 -07:00
Stanley Cheung 146a3773da PHP Proto3: upgrade protobuf to v3.1.0 and regenerate reflection.proto 2016-09-29 17:26:50 -07:00
Craig Tiller e2180f069d Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-09-29 13:52:51 -07:00
Yang Gao d24b822d73 Merge pull request #8046 from gislan/master
Add method for creating insecure channel from FD with custom arguments using C++ API.
2016-09-29 13:39:12 -07:00
Nicolas Noble ef49a5d217 Merge pull request #7833 from sreecha/fix_channel_from_fd_api
Remove completion queue parameter from `grpc_server_add_insecure_channel_from_fd` API
2016-09-29 11:16:55 -07:00
Craig Tiller d88c461217 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-29 10:35:38 -07:00
Mark D. Roth a40d471110 Plumb through GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET. 2016-09-29 10:05:50 -07:00
Craig Tiller 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
Craig Tiller db1a5cce47 Buffer pool C++ wrapper 2016-09-28 14:22:12 -07:00
Mark D. Roth 59c9f904bf Rename GRPC_INITIAL_METADATA_IGNORE_CONNECTIVITY to
GRPC_INITIAL_METADATA_WAIT_FOR_READY.
Also add a flag to indicate whether wait_for_ready was explicitly set by
the application.
2016-09-28 13:33:21 -07:00
Mark D. Roth 5db24978b6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-09-28 13:21:31 -07:00
Sree Kuchibhotla 892dbf4d95 Make settings configurable 2016-09-27 19:42:27 -07:00
Mark D. Roth 9477724003 Change C++ API to expose wait_for_ready instead of fail_fast. 2016-09-27 13:07:00 -07:00
Sree Kuchibhotla 862acb9f3a fix shutdown crash 2016-09-26 09:48:48 -07:00
Yuchen Zeng ef394a954a Fix typo 2016-09-23 14:04:33 -07:00
Yuchen Zeng 27e96f9beb Add comments about how to re-generate reflection proto files 2016-09-22 20:56:46 -07:00
Yuchen Zeng b8a886754e Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-09-22 10:59:39 -07:00
Sree Kuchibhotla 7974232f41 Merge branch 'master' into rpc_mgr 2016-09-21 11:17:41 -07:00
Sree Kuchibhotla 4028d2c11b More fixes 2016-09-21 10:45:33 -07:00
Sree Kuchibhotla aabada97a1 One RPCMgr instance per CQ 2016-09-21 01:39:13 -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
Yang Gao 24869d558a Merge pull request #7996 from yang-g/canonical
Add a helper to get canonical code from status
2016-09-15 15:58:17 -07:00
Yuchen Zeng 66f3a4bbdf Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-09-15 11:21:52 -07:00
Mark D. Roth 0e256107e8 Code review changes. 2016-09-15 09:01:05 -07:00
Craig Tiller a51f54192a Merge pull request #7559 from dgquintas/codegen_cleanse
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
Yuchen Zeng 362ac1be0c Fix gprc 2016-09-13 16:01:31 -07:00
Mark D. Roth f5afcd9f65 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-13 14:57:50 -07:00
Sree Kuchibhotla 765e6542b9 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:33:59 -07:00
Sree Kuchibhotla d0989101f5 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:31:25 -07:00
yang-g d558149a5e Add a helper to get canonical code from status 2016-09-09 09:37:33 -07:00
Adam Czachorowski dbdc6e4ae6 Add method for creating insecure channel from FD with custom arguments
using C++ API.

This was already supported in C API.
2016-09-09 11:32:09 +02:00
Makarand Dharmapurikar 2b98b77225 add cacheable option to client_context 2016-09-07 14:24:15 -07:00
Mark D. Roth 3ad6188920 Fix a few lingering references to max_message_size. 2016-09-06 13:03:39 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Mark D. Roth 6980362c4e Allow setting max send message size via C++ ServerBuilder API. 2016-09-06 08:15:36 -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
kpayson64 8d40e083f1 Merge pull request #7018 from vjpai/fc_unary
Support server-side streaming of a unary RPC
2016-09-02 09:15:14 -07:00
David Garcia Quintas e44902ecc9 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-02 15:27:33 +02:00
kpayson64 cfa18475f6 Merge pull request #7918 from y-zeng/server_builder
Add ServerBuilderPlugin::UpdateChannelArguments
2016-09-01 12:53:58 -07:00
Nicolas Noble 29b75b13ac Merge pull request #7890 from yeputons/add-iwyu-pragmas-grpc-h
Add IWYU export pragmas to grpc++/grpc++.h.
2016-09-01 12:45:12 -07:00
David Garcia Quintas 410208c25c Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-01 18:23:55 +02:00
Mark D. Roth 79d7d99600 Merge pull request #7842 from jboeuf/security_context_extension
Adding extension points for security context.
2016-08-31 10:00:17 -07:00
Vijay Pai 5c9a3438c5 clang-format 2016-08-30 20:52:32 -07:00
Vijay Pai 84033b1f6b Stick to StatusCode::INTERNAL when there's no service
response on a StreamedUnary
2016-08-30 20:50:43 -07: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 2998daa81b Another golden file 2016-08-30 12:09:35 -07: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
David Garcia Quintas 621e2b1a49 Merge with newly added/modified files 2016-08-30 09:27:19 -07:00
kpayson64 d76ea83728 Merge pull request #7798 from y-zeng/ServerReaderWriterInterface
Add ServerReaderWriterInterface
2016-08-30 08:34:19 -07:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Yuchen Zeng 11d3c8f3d4 Add ServerBuilderPlugin::UpdateChannelArguments 2016-08-29 18:19:03 -07:00
Vijay Pai d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
Vijay Pai a9c0d7f88b Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
Egor Suvorov 93901a7a86 Add clarifying comment about IWYU in grpc++.h 2016-08-26 16:48:38 -04:00
Egor Suvorov 650ae16bf7 Add IWYU export pragmas to grpc++/grpc++.h.
IWYU is a C++ tool which ensures that end users explicitly #include
every header they need. Without pragmas IWYU have no way of distinguishing
between 'implementation-specific' headers and headers which are shortcuts
for groups of other headers, like grpc++.h.
2016-08-26 16:26:23 -04:00
Julien Boeuf 2b2b345841 Addressing feedback. 2016-08-25 21:22:55 -07:00
Vijay Pai cdc253535b Remove FC_UNARY enum and treat it more like a special case of BIDI_STREAMING
in all cases
2016-08-25 15:33:02 -07:00
Vijay Pai ac4113bef1 Merge branch 'master' into fc_unary 2016-08-25 14:49:18 -07:00
Takuto Ikuta c0080b7c92 remove docstring for not existing argument 2016-08-25 13:31:51 +09:00
Takuto Ikuta bb04734eec Fix a typo 2016-08-25 13:31:51 +09:00
Julien Boeuf 6b93d46bb8 Adding extension points for security context. 2016-08-23 10:04:03 -07:00
Sree Kuchibhotla 509ee4c111 Remove the API to return the underlying completion queue. This API is no
longer needed
2016-08-22 17:48:41 -07:00
Sree Kuchibhotla 3ea9e247e0 some refactoring 2016-08-22 14:15:43 -07:00
Sree Kuchibhotla 86edf01593 Merge 2016-08-22 10:01:35 -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
Mark D. Roth 2665bdd6d2 Reduce allocations associated with src/cpp/util/byte_buffer.cc. 2016-08-18 08:02:24 -07:00
kpayson64 b80d9c9626 Merge pull request #7594 from chedeti/grpc-thrift-v2
grpc thrift integration
2016-08-17 16:59:20 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
chedeti a7ee93864a remove const in Deserialize 2016-08-04 14:42:35 -07:00
Vijay Pai 326d939873 Another golden file to fix 2016-08-04 14:10:54 -07:00
chedeti 76db7f9a7c use boost::make_shared 2016-08-04 11:56:54 -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
chedeti 82afcaa009 rename class variables to snake_case 2016-08-03 16:38:05 -07:00
Jorge Canizales 3df9bdf880 Update generated files with new protobuf version
Also make the script fetch protoc from the usual place.
2016-08-03 10:48:23 -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
chedeti a17039aaa4 refine code and add README 2016-08-01 17:32:06 -07:00
David Garcia Quintas ffd207fe4c fixed include guard script and faulty .h 2016-08-01 16:20:52 -07:00
chedeti bc618eed71 thrift serializer 2016-07-31 15:35:51 -07:00
Sree Kuchibhotla e3a282e90d Merge branch 'master' into rpc_mgr 2016-07-29 09:54:24 -07:00
Nicolas Noble 5a36325896 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:32:25 -07:00
Nicolas Noble e51b9d2e39 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
David Garcia Quintas 61887dcf46 scrubbed codegen/sync.h 2016-07-27 23:17:34 -07:00
David Garcia Quintas e8fd66b71d removed codegen/slice_buffer.h and scrubbed codegen/slice.h 2016-07-27 22:05:37 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
David Garcia Quintas 3b31fdf77b removed codegen/byte_buffer.h 2016-07-27 18:17:12 -07:00
David Garcia Quintas 6b11462da1 removed codegen/alloc.h 2016-07-27 14:49:53 -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
kpayson64 b5fa72c89e Merge pull request #7451 from y-zeng/seperate_generated_files
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
Sree Kuchibhotla 6d977638f7 Merge branch 'master' into rpc_mgr 2016-07-22 11:54:01 -07:00
David Garcia Quintas 440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
David Garcia Quintas f77b9bf2fe Removed unused version of async_stream.h 2016-07-21 19:24:51 -07:00
Yuchen Zeng 2edf5e904b Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-21 16:15:12 -07:00
kpayson64 b8e26c0217 Merge pull request #7486 from dgquintas/alive_typo
fixed typo
2016-07-21 15:15:47 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
Nicolas Noble 98f47f6169 Merge pull request #7469 from yang-g/proto_lite
Add a macro to support protobuf lite
2016-07-21 11:13:53 -07:00
Sree Kuchibhotla 56891a7507 Merge branch 'master' into rpc_mgr 2016-07-21 11:02:01 -07:00
David Garcia Quintas b91cddb2fa fixed typo 2016-07-20 17:40:01 -07:00
Yuchen Zeng 543c5886ee Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-19 19:15:55 -07:00
kpayson64 7c519b9243 Merge pull request #7444 from y-zeng/fix_typo
Fix typos in config_protobuf.h
2016-07-19 17:34:59 -07:00
yang-g e6c04aa612 Add a macro to support protobuf lite 2016-07-19 14:46:50 -07:00
Sree Kuchibhotla bb5519f5a5 More changes 2016-07-19 11:00:39 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Yuchen Zeng 3046557a02 fix typo 2016-07-18 12:08:17 -07:00
Yuchen Zeng 24987dbf77 fix typo 2016-07-18 10:35:44 -07:00
yang-g 807387641f prevent spurious wake up and unstarted/already shutdown server 2016-07-14 22:59:39 -07:00
Sree Kuchibhotla 69b74784fe Reduce the number of unnecessary allocations 2016-07-14 21:24:07 -07:00
kpayson64 27a02b5d9d Merge pull request #7319 from yang-g/wait_async
Make Server::Wait work for async only server.
2016-07-14 18:26:25 -07:00
yang-g 6ec11f2acd prevent spurious wake up and unstarted/already shutdown server 2016-07-14 14:53:35 -07:00
yang-g 05573f1692 Make Server::Wait work for async only server. 2016-07-13 22:23:19 -07:00
yang-g 3e63b4ee7e Merge remote-tracking branch 'upstream/master' into slice 2016-07-12 08:36:26 -07:00
yang-g e89dc6ceb6 Make Server::Wait work for async only server. 2016-07-11 15:48:01 -07:00
David Garcia Quintas f2e20c2d8c Merge branch 'master' of github.com:grpc/grpc into bb_reader_error 2016-07-06 15:34:42 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
David Garcia Quintas 314d3350d9 removed unused version of status_code_enum.h 2016-06-30 09:51:02 -07:00
Vijay Pai 577d1696e8 Fix generated reflection files 2016-06-27 14:48:57 -07:00
yang-g a324c4fea6 Add API to get c slice from c++ Slice. 2016-06-24 11:59:35 -07:00
Jan Tattermusch 3901ceed6a Merge pull request #6947 from vjpai/async_stream_doc
Doc Fixit: Ordering and thread-safety for C++ streaming (sync/async) APIs
2016-06-24 10:16:30 -07:00
vjpai c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -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 a12276932d Add some const 2016-06-23 13:18:19 -07:00
vjpai 7142a91fc9 Fix up service types and method handlers so that FC unary can work properly. 2016-06-23 10:16:00 -07:00
Bill Clarke c072c927a8 Const correctness for ClientContext and ServerContext getters 2016-06-22 17:07:00 -07:00
vjpai ba6597f297 Actually generate code for FC Unary and make it work 2016-06-22 15:49:48 -07:00
vjpai 726561ed06 Initial definition of flow-controlled unary type along with code generation for this type 2016-06-22 11:14:24 -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 1d9b1e9640 Merge branch 'master' into async_stream_doc 2016-06-21 16:32:13 -07:00
vjpai 7b4dc532dd Stop using global namespace on a template param 2016-06-17 15:55:00 -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
Vijay Pai 90460fadf6 Digraph 2016-06-16 00:28:57 -07:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 20bf126da6 clang-format 2016-06-15 22:21:48 -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
Vijay Pai 06ea541ed9 Provide nullptr->std::function cast 2016-06-15 10:57:50 -07:00
David Garcia Quintas 058c9de8b2 Added to server's shutdown docstrings 2016-06-13 19:04:43 -07:00
Jan Tattermusch 136307756c Merge pull request #6438 from y-zeng/reflection_separate_lib
Proto server reflection
2016-06-13 14:16:06 -07:00
vjpai 97da6473b4 Manual clang-format 2016-06-13 09:56:26 -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
Vijay Pai ce350a5925 override->GRPC_OVERRIDE
Remove range-based fors
2016-06-09 17:22:35 -07:00
Jan Tattermusch 1bc2976a0f Merge pull request #6481 from dgquintas/compression_md_level_bis
Allow servers to select compression level via initial MD & overall compression cleanup
2016-06-08 19:17:20 -07:00
Jan Tattermusch b81f172206 Merge pull request #6610 from xyzzyz/external_fd_fresh
Add support for communication using existing FD (for client and server)
2016-06-08 19:16:40 -07:00
Jan Tattermusch b17e25ce94 Merge pull request #6649 from dgquintas/core_codegen_be_public
moved core_codegen from src/cpp/... to include/grpc++/...
2016-06-08 13:16:55 -07:00
Jan Tattermusch 026dfe60a5 Merge pull request #6820 from mdsteele/server-async
Add interfaces for ServerAsyncReader/Writers
2016-06-08 13:11:30 -07:00
Matthew D. Steele 080749e8ba Add interfaces for ServerAsyncReader/Writers 2016-06-08 10:37:23 -04:00
David Garcia Quintas 533add5a87 Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-07 21:21:27 -07:00
David Garcia Quintas cf41d19a9e clang-format 2016-06-07 21:05:43 -07:00
David Garcia Quintas dd385b6a19 Merge branch 'master' of github.com:grpc/grpc into core_codegen_be_public 2016-06-07 18:51:36 -07:00
David Garcia Quintas 30fb536053 PR comments (offline). 2016-06-07 16:24:17 -07:00
Adam Michalik 4ad746e4e0 clang-format, fix headers, windows fixes 2016-06-07 15:09:19 -07:00
Adam Michalik b97e2d145e Add C++ support for using external FD 2016-06-07 15:09:19 -07:00
Yuchen Zeng d23710787b Merge remote-tracking branch 'upstream/master' into reflection_separate_lib 2016-06-07 15:00:52 -07:00
Jan Tattermusch 570408fd4c Merge pull request #6741 from yang-g/its_ok_to_have_no_read_on_cancelled_call
Let Next set ok=true when receiving error status
2016-06-07 10:54:02 -07:00
Yuchen Zeng 7ae31a8898 Add more comments, fix format issues 2016-06-06 14:35:51 -07:00
Yuchen Zeng 0601df3a04 Move reflection src/hdr to src/cpp/ext include/grpc++/ext 2016-06-06 13:08:06 -07:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
David Garcia Quintas 55c08f81cf Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-03 14:18:01 -07:00
Yuchen Zeng 3623dc5cdd Move protobuf dependencies to config_protobuf.h 2016-06-03 13:41:46 -07:00
yang-g 15759f610e Let Next set ok=true when receiving error status 2016-06-01 11:21:27 -07:00
David Garcia Quintas a20a2ad41b moved core_codegen from src/cpp/... to include/grpc++/... 2016-05-19 11:02:01 -07:00
Craig Tiller 9766f4f424 Merge github.com:grpc/grpc into test_affine 2016-05-18 16:55:35 -07:00
David Garcia Quintas 697a41f682 fixes to grpc++/impl/codegen/call.h 2016-05-18 15:26:42 -07:00
David Garcia Quintas 8f7365021f Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-05-18 10:29:57 -07:00
Jan Tattermusch 057a2f8f7c Merge pull request #6445 from yang-g/unique_ptr_reset
Add an explicit base class pointer to avoid potential breakage.
2016-05-18 07:30:06 -07:00
David Garcia Quintas 2d02456e78 got rid of grpc_compression_options 2016-05-17 23:24:39 -07:00
Craig Tiller 1102faffca Merge branch 'connect_first' into test_affine 2016-05-14 13:27:02 -07:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
David Garcia Quintas 0fde7131aa Fixed usage of anon namespace inside .h 2016-05-13 15:13:51 -07:00
Craig Tiller 52237e3a96 clang-format 2016-05-13 14:37:25 -07:00
Craig Tiller 63d24f1c7d Make qps workers connect before even warmup stage begins 2016-05-13 14:36:09 -07:00
David Garcia Quintas d6fb831ce5 Updated codegen/call.h 2016-05-13 11:06:05 -07:00
David Garcia Quintas 48a5ddd00c Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-05-12 17:54:58 -07:00
yang-g 73621357ab Merge remote-tracking branch 'upstream/master' into unique_ptr_reset 2016-05-12 14:01:13 -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
Jan Tattermusch b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
yang-g b6f853d065 Add comment 2016-05-10 16:47:02 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
David Garcia Quintas a301eaade8 Allow servers to select compression level via initial MD.
Setting the newly added compression_level field of
grpc_op::send_initial_metadata by a server now has the effect of
applying that compression level for the subsequent call messages leaving
the server. The ultimate meaning of the level depends on the client's
supported compression algorithms.
2016-05-09 14:30: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 7099d6fed6 Add an explicit base class pointer to avoid potential breakage. 2016-05-05 10:53:50 -07:00
Jan Tattermusch bc2afb065a Merge pull request #6323 from dgquintas/codegen_remove_proto
Moved protos out of core_codegen interface
2016-05-04 19:09:29 -07:00
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -07:00
Sree Kuchibhotla b69251c2f6 Merge branch 'master' into server_channel_affinity 2016-05-03 09:33:13 -07:00
Craig Tiller 4ee1a62723 Stress test fixes
- properly fail a Read() on a stream if we fail to parse a protobuf
- fix an ordering problem with the chttp2 transport global lock, whereby
  a sequence of two operations could be swapped - this resulted in
  slices being returned to the upper layers in the wrong order,
  corrupting data
2016-04-29 16:47:27 -07:00
Yuchen Zeng c049035bed Add GRPC_ prefix for macros 2016-04-29 14:05:08 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
David Garcia Quintas 1b2db6333d Moved protos out of core_codegen interface 2016-04-27 15:09:11 -07:00
Sree Kuchibhotla 30499760db Merge branch 'master' into server_channel_affinity 2016-04-26 11:27:14 -07:00
Craig Tiller 7beea147e5 Merge github.com:grpc/grpc into strong-includes 2016-04-21 17:07:36 -07:00
Sree Kuchibhotla 01907123f6 generate_projects.sh and fix copyright year 2016-04-21 15:09:13 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Deepak Lukose dba4c5fd01 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Craig Tiller 788a25365d Fix dependencies 2016-04-12 17:13:43 -07:00
Craig Tiller 666a362a66 clang-fmt 2016-04-12 13:46:30 -07:00
Craig Tiller 3ab2fe0094 Rollup of changes from the latest import 2016-04-11 20:11:18 -07:00
Craig Tiller 08eb0d6752 clang-format 2016-04-01 12:59:17 -07:00
Craig Tiller c954f59c2e Fix missing arg 2016-04-01 12:35:32 -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
yang-g f64befd27f Make a copy of ByteBuffer when writing 2016-03-21 14:04:10 -07:00
Jan Tattermusch ddd4d7f10f Merge pull request #5494 from dgquintas/guard_check
New #include guard sanity check + fixes to current guards
2016-03-20 15:57:00 -07:00
David Garcia Quintas 146070db8d fixed multiple initialization of globals 2016-03-18 15:53:28 -07:00
David Garcia Quintas c14f1cbe9a new fixed guards 2016-03-18 10:14:27 -07:00
David Garcia Quintas 185768b702 Merge branch 'master' of github.com:grpc/grpc into guard_check 2016-03-17 22:42:39 -07:00
David Garcia Quintas cd21266b5f Merge branch 'master' of github.com:grpc/grpc into codegen_lib 2016-03-15 17:10:45 -07:00
David Garcia Quintas 3598d4457d Fixed include guards 2016-03-15 14:53:05 -07:00
David Garcia Quintas 9eef377865 clang-format 2016-03-09 11:31:02 -08:00
David Garcia Quintas 60ee8dd2fc docstrings 2016-03-08 17:21:42 -08:00