Commit Graph

1171 Commits

Author SHA1 Message Date
Muxi Yan 04f97ca022 Merge branch 'master' into backward-compat-dev 2017-05-12 12:25:43 -07:00
yang-g a044f6d3f5 Propagate deadline to GenericServerContext 2017-05-11 15:37:51 -07:00
Yang Gao 8bab30dc7c Merge pull request #11028 from yang-g/default_hc
Lower the level of a log message to INFO
2017-05-11 09:53:51 -07:00
Muxi Yan f5b3db9c22 Use AddChannelArgument method 2017-05-09 17:12:24 -07:00
Muxi Yan b1a80c751d bug fixes 2017-05-09 16:50:54 -07:00
Muxi Yan cdc0d03b2d Add EnableWorkaround API to enable server workarounds 2017-05-09 16:26:51 -07:00
yang-g f070d4158c Lower the level of a log message to INFO 2017-05-08 15:02:28 -07:00
ncteisen fde16afefa Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-05-05 10:27:17 -07:00
ncteisen cc7e17b2d6 Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-04-21 08:06:12 -07:00
Craig Tiller 59db187c85 Merge branch 'tsan-c++' into hybrid 2017-04-20 19:24:57 +00:00
Craig Tiller 06a30eef36 Merge github.com:grpc/grpc into cpparena 2017-04-19 14:40:20 -07:00
ncteisen e107b0d439 Add to codegen interface, refactor proto serialization
This change allows for some internal proto serialization
changes to be made
2017-04-19 14:01:13 -07:00
Craig Tiller 3588248554 Merge github.com:grpc/grpc into hybrid 2017-04-19 09:06:45 -07:00
Craig Tiller f659ee5ff1 Move comment 2017-04-18 17:07:16 -07:00
Craig Tiller cac4e178fd Merge github.com:grpc/grpc into cpparena 2017-04-18 13:39:18 -07:00
Craig Tiller a12c0657ef Merge github.com:grpc/grpc into hybrid 2017-04-18 13:23:44 -07:00
Craig Tiller 35f27cd457 More cleanup 2017-04-18 13:14:45 -07:00
Craig Tiller 4818150728 Better commentary 2017-04-18 13:09:54 -07:00
Craig Tiller a3e87894f2 Fix, restore draining 2017-04-18 13:08:08 -07:00
Craig Tiller 991c101de8 Initial thread manager fixes 2017-04-18 19:43:14 +00:00
David G. Quintas a6f64f4c00 Merge pull request #10391 from dgquintas/lr_back_to_md
Load Reporting back to using metadata
2017-04-17 10:36:42 -07:00
Yang Gao c5fc2b7112 Merge pull request #10663 from yang-g/globalcallback
Update ServerGlobalCallback::AddPort api
2017-04-17 09:13:49 -07:00
David Garcia Quintas a818f72c0c Load Reporting back to using metadata 2017-04-15 11:25:48 -07:00
Craig Tiller c3666d7090 Merge github.com:grpc/grpc into hybrid 2017-04-14 13:15:56 -07:00
Craig Tiller 2c6f63731c Merge github.com:grpc/grpc into cpparena 2017-04-14 13:14:10 -07:00
yang-g eafeea48a9 Update ServerGlobalCallback::AddPort api 2017-04-14 12:34:10 -07:00
Craig Tiller 957562780a Merge pull request #10583 from ctiller/server_start
Threading robustness
2017-04-14 08:53:01 -07:00
Sree Kuchibhotla 0e5fa9ebcd Merge branch 'master' into cq_create_api_changes 2017-04-13 18:36:23 -07:00
David Garcia Quintas 9e1acc0796 master to 1.4.0-dev 2017-04-13 16:30:15 -07:00
Craig Tiller 57e6485e2d Merge github.com:grpc/grpc into hybrid 2017-04-13 06:46:27 -07:00
Sree Kuchibhotla aa5a92800f Merge branch 'master' into cq_create_api_changes 2017-04-13 03:13:17 -07:00
Craig Tiller 11c5832b3e Get rid of second api for marking non-listening cqs 2017-04-12 08:21:17 -07:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
Craig Tiller 334c4678a3 Start building out C++ interface 2017-04-11 16:26:07 -07:00
yang-g eceec8eaf6 Add helper function to supply and parse error_details from Status. 2017-04-11 16:07:24 -07:00
Craig Tiller 9d9313cfc6 Threading robustness
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
2017-04-11 15:05:46 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Craig Tiller d4e9a4863a Convert all async client stream types to not allocate 2017-04-05 15:41:59 -07:00
Craig Tiller fa416cbe3b Dont break codegen barrier 2017-04-05 15:14:30 -07:00
Craig Tiller 41f46ab665 Merge github.com:grpc/grpc into cpparena 2017-04-05 14:05:38 -07:00
Craig Tiller bbcf378192 Merge pull request #10457 from ctiller/fixmsan
Potential msan fix
2017-04-05 07:55:44 -07:00
Craig Tiller 5de46568ce Merge github.com:grpc/grpc into cpparena 2017-04-04 17:08:12 -07:00
Craig Tiller be094fc5e6 Fix compile 2017-04-04 09:31:28 -07:00
Craig Tiller 7a8232d773 review feedback 2017-04-03 10:59:42 -07:00
Craig Tiller f854f2a7b0 Merge github.com:grpc/grpc into new_transport_op 2017-04-03 08:21:40 -07:00
Sree Kuchibhotla c1a32fa46e Merge branch 'master' into cq_create_api_changes 2017-04-01 17:36:15 -07:00
Sree Kuchibhotla 4426800e6c clang format 2017-04-01 17:33:50 -07:00
Sree Kuchibhotla fa71f6f369 Fix ASAN failure 2017-04-01 17:32:34 -07:00
Craig Tiller 5f95f1a4ca Merge github.com:grpc/grpc into cpparena 2017-04-01 07:42:20 -07:00
Craig Tiller 9c54a0c12c Merge pull request #10382 from ctiller/checks
Reinstate filegroup dependency checks, fix fallout
2017-03-31 16:10:35 -07:00
Craig Tiller a0f3abd925 Review feedback: bikeshedding round 2017-03-31 15:42:16 -07:00
Craig Tiller 84a2ac885c Merge github.com:grpc/grpc into new_transport_op 2017-03-31 15:03:39 -07:00
yang-g d510fcfc6d Add ports to global server callback. 2017-03-31 11:00:02 -07:00
Craig Tiller 66051c618f Async end2end test passes 2017-03-31 09:16:35 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
David G. Quintas d58e74e784 Merge pull request #10381 from dgquintas/remove_lr_from_server_context
Removed wrong LR include from codegen
2017-03-30 14:19:41 -07:00
Sree Kuchibhotla e04906dc54 Merge branch 'master' into cq_create_api_changes 2017-03-30 13:20:00 -07:00
Craig Tiller 1345a85d0d Merge branch 'remove_lr_from_server_context' of github.com:dgquintas/grpc into checks 2017-03-30 10:46:07 -07:00
David Garcia Quintas 55c895a6a4 Removed wrong LR include from codegen 2017-03-30 10:43:14 -07:00
Craig Tiller 29b527fa30 Reinstate one check, fix fall out 2017-03-30 10:27:20 -07:00
Sree Kuchibhotla c86460225b Merge branch 'master' into cq_create_api_changes 2017-03-29 16:18:19 -07:00
Craig Tiller 220861eb56 Merge github.com:grpc/grpc into new_transport_op 2017-03-29 14:08:56 -07:00
Sree Kuchibhotla 5c0ef36679 Add comment 2017-03-29 09:53:48 -07:00
Sree Kuchibhotla ca70796434 Merge branch 'master' into init-free-cq 2017-03-29 09:44:47 -07:00
Vijay Pai 8cfffdd455 Merge pull request #10314 from thinkerou/fix_markdown_render
fix markdown render error
2017-03-28 23:37:16 -07:00
Sree Kuchibhotla ef8e00230e Do not call grpc_init() for per-call-completion-queues created by a C++
synchronous server
2017-03-28 18:11:09 -07:00
Sree Kuchibhotla 14ab588166 Merge branch 'master' into cq_create_api_changes 2017-03-28 12:37:00 -07:00
Craig Tiller b6090a697b Merge github.com:grpc/grpc into new_transport_op 2017-03-28 10:13:07 -07:00
Yuxuan Li 8fd581ecdb Merge branch 'master' into stream_corked_pr 2017-03-27 15:56:13 -07:00
thinkerou 9f00073f3c fix markdown render error 2017-03-26 00:52:56 +08:00
Sree Kuchibhotla 79441baed9 Merge branch 'master' into cq_create_api_changes 2017-03-24 15:01:23 -07:00
Yuchen Zeng f5b6b5b702 Replace existing string in SetUserAgentPrefix 2017-03-22 17:38:46 -07:00
Sree Kuchibhotla f2c32150ef Update C++ code 2017-03-22 03:01:24 -07:00
Sree Kuchibhotla 36c370793b Merge branch 'master' into cq_create_api_changes 2017-03-21 10:28:40 -07:00
Yuxuan Li 0574b58869 merge master and fix conflict on bm_fullstack 2017-03-20 12:19:34 -07:00
Craig Tiller 444c223c17 Merge github.com:grpc/grpc into new_transport_op 2017-03-20 09:36:17 -07:00
Yuchen Zeng 40a947ef93 Merge pull request #9889 from y-zeng/channel_arg
Destroy pointer args when destructing a ChannelArguments
2017-03-17 11:38:44 -07:00
Craig Tiller 5279370314 Fix compilation 2017-03-15 08:38:24 -07:00
Yuchen Zeng 4564b8cde7 Copy value at SetPointerWithVtable 2017-03-14 11:40:56 -07:00
Craig Tiller 7d882d7839 Merge github.com:grpc/grpc into new_transport_op 2017-03-13 16:15:24 -07:00
David G. Quintas 169c553e0d Merge pull request #10078 from dgquintas/master_to_1.3.0
Bumped version to 1.3.0-dev
2017-03-10 14:09:27 -08:00
Craig Tiller f5fe4ef621 Convert C++ 2017-03-10 10:53:30 -08:00
David Garcia Quintas 74cec10619 Bumped version to 1.3.0-dev 2017-03-09 15:00:26 -08:00
Yuxuan Li bdc76ab37b bug fix 2017-03-08 10:59:31 -08:00
Yuxuan Li 34894e4b1c Implemented stream coalescing design
(RFC:https://github.com/grpc/proposal/pull/3). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Craig Tiller 111f2d4817 Merge github.com:grpc/grpc into server_channel_args 2017-03-08 09:08:43 -08:00
Craig Tiller 12352b2c5c Add test of server builder, including channel args 2017-03-08 09:08:22 -08:00
Craig Tiller 4751c28b0b Add channel arguments to server builder 2017-03-08 09:03:12 -08:00
Sree Kuchibhotla 1dbd981cf8 Prefix grpc_cq_polling_type enums with GRPC_CQ_ 2017-03-03 14:27:44 -08:00
Sree Kuchibhotla 982a6f2b1c C++ code changes in response to grpc_completion_queue_create() API change 2017-03-03 02:19:31 -08:00
yang-g 01f1544c3b Check and act on Dump failure 2017-02-28 10:23:31 -08:00
Yuchen Zeng 77532e8bf3 Destroy pointer args when destructing a ChannelArguments 2017-02-27 11:52:39 -08:00
Yang Gao 1556aa1a48 Merge pull request #9718 from yang-g/metadata
Let ServerContext own the initial_metadata array for sync calls
2017-02-23 14:30:25 -08:00
yang-g c42d844d27 Let ServerContext own the initial_metadata array for sync calls 2017-02-22 23:04:06 -08:00
Craig Tiller eb022becae Fix compile 2017-02-22 08:08:53 -08:00
yang-g 55c6ebfd7a Merge branch 'master' into health 2017-02-17 09:55:03 -08:00
yang-g f07ed45439 Restore the NextMessageSize for streamed calls 2017-02-16 23:01:28 -08:00
David Garcia Quintas f31f096274 Use call context to propagare LR costs 2017-02-13 16:26:00 -08:00
yang-g 076bac017b Remove async 2017-02-07 13:50:36 -08:00
yang-g 13a537bcae merge with head 2017-02-07 13:13:20 -08:00
yang-g f2fe4f7dbd Add a PreServerStart in global server callbacks 2017-02-07 12:47:22 -08:00
Craig Tiller 5cad46e218 Bump master version numbers 2017-01-30 15:32:24 -08:00
yang-g 1e19b8d3e7 Update for API change 2017-01-30 10:48:59 -08:00
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 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
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 1d83a701b6 Fix memory leak 2017-01-17 09:35:42 -08:00
Craig Tiller 28ea6f0fbc Fix memory corruption 2017-01-13 08:21:24 -08:00
Craig Tiller 6d353e2a72 Fix mac 2017-01-12 21:23:00 -08:00
Craig Tiller 81eceb31cc Remove bogus assert 2017-01-12 14:27:01 -08:00
Craig Tiller 85e15a0bde Spam cleanup 2017-01-12 13:42:41 -08:00
Craig Tiller 95beab2284 Uncover the badness 2017-01-12 13:41:52 -08:00
Craig Tiller e5d8e02aa6 Fix sanity: core_banned_functions 2017-01-11 14:20:28 -08:00
yang-g 8a7a4462b1 merge with head 2017-01-11 13:13:23 -08:00
Craig Tiller 5cf481d2c9 Fix C++ build 2017-01-09 14:50:27 -08:00
yang-g 8bd6a0542b remove copyright from generated files 2017-01-04 13:10:30 -08:00
yang-g b90631d3f0 more cleanup 2016-12-29 14:12:15 -08:00
yang-g a36ea4be8b remove file 2016-12-29 13:45:06 -08:00
yang-g ef16328063 cleanup 2016-12-29 13:21:04 -08:00
yang-g a3c95529c7 async works 2016-12-29 12:10:52 -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 4eaf96920f fix todo 2016-12-27 15:37:59 -08:00
yang-g b74cf429fd test pass 2016-12-27 15:37:59 -08:00
yang-g c3c475fd14 move files to subdir and add generated files 2016-12-27 15:37:59 -08:00
yang-g fbbb0d707f generated nanopb files, need to update build.yaml and maybe move them to
a sub-dir
2016-12-27 15:37:59 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
yang-g 6d0fbfaf7b WIP 2016-12-27 15:37:59 -08:00
yang-g c9d2954e55 more 2016-12-27 15:37:59 -08:00
yang-g 08137362d0 WIP 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
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
Craig Tiller 0704727c2d Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-27 08:38:35 -08:00
Mark D. Roth 13f3574642 clang-format 2016-12-14 12:39:03 -08:00
Mark D. Roth 42663fb20e Fix bug. 2016-12-12 10:51:01 -08:00
Mark D. Roth aa1cd14729 Clean up C++ filter API. 2016-12-12 10:24:59 -08:00
Mark D. Roth 39b1f913d4 Merge remote-tracking branch 'upstream/master' into client_channel_init_cleanup 2016-12-09 11:04:07 -08:00
Craig Tiller 78bc54e7d9 Fix stack corruption 2016-12-08 15:19:41 -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