diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/security/auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/security/auth.c b/src/core/security/auth.c index 5d241781f1..4dbc25675b 100644 --- a/src/core/security/auth.c +++ b/src/core/security/auth.c @@ -173,6 +173,7 @@ static void auth_start_transport_op(grpc_call_element *elem, for (i = 0; i < nops; i++) { grpc_stream_op *sop = &ops[i]; if (sop->type != GRPC_OP_METADATA) continue; + calld->op_md_idx = i; calld->sent_initial_metadata = 1; for (l = sop->data.metadata.list.head; l != NULL; l = l->next) { grpc_mdelem *md = l->md; @@ -230,6 +231,7 @@ static void init_call_elem(grpc_call_element *elem, calld->creds = NULL; calld->host = NULL; calld->method = NULL; + calld->sent_initial_metadata = 0; GPR_ASSERT(!initial_op || !initial_op->send_ops); } |