|
|
@ -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
|
|
|
|
/* Send : prefixed headers, which have to be before any application
|
|
|
|
* layer headers. */ |
|
|
|
* layer headers. */ |
|
|
|
grpc_metadata_batch_add_head(&op->data.metadata, &calld->method, |
|
|
|
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_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_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_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); |
|
|
|
grpc_call_next_op(elem, op); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case GRPC_RECV_METADATA: |
|
|
|
case GRPC_RECV_METADATA: |
|
|
|