diff options
author | 2015-06-16 17:18:34 -0700 | |
---|---|---|
committer | 2015-06-16 17:18:34 -0700 | |
commit | 48dd6bfb53ff9ddda39b9b2e6ced297e95027514 (patch) | |
tree | 46f0c63ecf93ed9ccf5bfda0aba501788744cca1 /src/core/surface/server.c | |
parent | 18b4b8379259ffa73f8b5414a09bcb682d96b200 (diff) | |
parent | 94528cb58545a021df177e64a20efc91c1ac6226 (diff) |
Merge github.com:grpc/grpc into you-complete-me
Diffstat (limited to 'src/core/surface/server.c')
-rw-r--r-- | src/core/surface/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c index d0974c04cf..825ef66804 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -1135,6 +1135,7 @@ static void begin_call(grpc_server *server, call_data *calld, rc->data.batch.details->deadline = calld->deadline; r->op = GRPC_IOREQ_RECV_INITIAL_METADATA; r->data.recv_metadata = rc->data.batch.initial_metadata; + r->flags = 0; r++; publish = publish_registered_or_batch; break; @@ -1142,10 +1143,12 @@ static void begin_call(grpc_server *server, call_data *calld, *rc->data.registered.deadline = calld->deadline; r->op = GRPC_IOREQ_RECV_INITIAL_METADATA; r->data.recv_metadata = rc->data.registered.initial_metadata; + r->flags = 0; r++; if (rc->data.registered.optional_payload) { r->op = GRPC_IOREQ_RECV_MESSAGE; r->data.recv_message = rc->data.registered.optional_payload; + r->flags = 0; r++; } publish = publish_registered_or_batch; |