From bf177c884fbf48159896b58dd21016c85f95f95a Mon Sep 17 00:00:00 2001
From: Masood Malekghassemi <soltanmm@users.noreply.github.com>
Date: Mon, 27 Apr 2015 12:14:38 -0700
Subject: [PATCH] Pass deadline to call details for batch calls

---
 src/core/surface/server.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
GitLab