aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-04-27 12:14:38 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-04-27 12:14:38 -0700
commitbf177c884fbf48159896b58dd21016c85f95f95a (patch)
tree65d0e8c0e0cf6391dc4fabc3af7e3892421da5a0
parent8bf5fc88d47ded1055e8fbb2ec99e75a3a356145 (diff)
Pass deadline to call details for batch calls
-rw-r--r--src/core/surface/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c
index e771929870..3b129039bb 100644
--- a/src/core/surface/server.c
+++ b/src/core/surface/server.c
@@ -1083,6 +1083,7 @@ static void begin_call(grpc_server *server, call_data *calld,
&rc->data.batch.details->host_capacity, calld->host);
cpstr(&rc->data.batch.details->method,
&rc->data.batch.details->method_capacity, calld->path);
+ rc->data.batch.details->deadline = calld->deadline;
grpc_call_set_completion_queue(calld->call, rc->data.batch.cq_bind);
*rc->data.batch.call = calld->call;
r->op = GRPC_IOREQ_RECV_INITIAL_METADATA;