|
|
|
@ -81,13 +81,13 @@ static void call_op(grpc_call_element *elem, grpc_call_element *from_elem, |
|
|
|
|
/* Send : prefixed headers, which have to be before any application
|
|
|
|
|
* layer headers. */ |
|
|
|
|
grpc_metadata_batch_add_head(&op->data.metadata, &calld->method, |
|
|
|
|
grpc_mdelem_ref(channeld->method)); |
|
|
|
|
grpc_mdelem_ref(channeld->method)); |
|
|
|
|
grpc_metadata_batch_add_head(&op->data.metadata, &calld->scheme, |
|
|
|
|
grpc_mdelem_ref(channeld->scheme)); |
|
|
|
|
grpc_mdelem_ref(channeld->scheme)); |
|
|
|
|
grpc_metadata_batch_add_tail(&op->data.metadata, &calld->te_trailers, |
|
|
|
|
grpc_mdelem_ref(channeld->te_trailers)); |
|
|
|
|
grpc_mdelem_ref(channeld->te_trailers)); |
|
|
|
|
grpc_metadata_batch_add_tail(&op->data.metadata, &calld->content_type, |
|
|
|
|
grpc_mdelem_ref(channeld->content_type)); |
|
|
|
|
grpc_mdelem_ref(channeld->content_type)); |
|
|
|
|
grpc_call_next_op(elem, op); |
|
|
|
|
break; |
|
|
|
|
case GRPC_RECV_METADATA: |
|
|
|
|