aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/method_handler_impl.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-20 11:02:51 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-20 11:02:51 -0700
commit1edc77c7c6267fc85a37adc5f539060c93e97528 (patch)
tree64d60676be5e38f1cd3cf9b017bf0937c28a48d1 /include/grpc++/impl/codegen/method_handler_impl.h
parentf4a7ecf3b6d2b26f9baa33ce5cd219270095e955 (diff)
parenta6a6fa4f12c5634d87d8b4e64fa50c3618586a7c (diff)
Merge github.com:grpc/grpc into direct-calls
Diffstat (limited to 'include/grpc++/impl/codegen/method_handler_impl.h')
-rw-r--r--include/grpc++/impl/codegen/method_handler_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/impl/codegen/method_handler_impl.h b/include/grpc++/impl/codegen/method_handler_impl.h
index d989263252..52f927631c 100644
--- a/include/grpc++/impl/codegen/method_handler_impl.h
+++ b/include/grpc++/impl/codegen/method_handler_impl.h
@@ -53,7 +53,7 @@ class RpcMethodHandler : public MethodHandler {
void RunHandler(const HandlerParameter& param) GRPC_FINAL {
RequestType req;
Status status = SerializationTraits<RequestType>::Deserialize(
- param.request, &req, param.max_message_size);
+ param.request, &req, param.max_receive_message_size);
ResponseType rsp;
if (status.ok()) {
status = func_(service_, param.server_context, &req, &rsp);
@@ -139,7 +139,7 @@ class ServerStreamingHandler : public MethodHandler {
void RunHandler(const HandlerParameter& param) GRPC_FINAL {
RequestType req;
Status status = SerializationTraits<RequestType>::Deserialize(
- param.request, &req, param.max_message_size);
+ param.request, &req, param.max_receive_message_size);
if (status.ok()) {
ServerWriter<ResponseType> writer(param.call, param.server_context);