|
|
@ -234,9 +234,9 @@ grpc_call *grpc_channel_create_call(grpc_channel *channel, |
|
|
|
grpc_call *call = grpc_channel_create_call_internal( |
|
|
|
grpc_call *call = grpc_channel_create_call_internal( |
|
|
|
&exec_ctx, channel, parent_call, propagation_mask, cq, NULL, |
|
|
|
&exec_ctx, channel, parent_call, propagation_mask, cq, NULL, |
|
|
|
grpc_mdelem_from_slices(&exec_ctx, GRPC_MDSTR_PATH, |
|
|
|
grpc_mdelem_from_slices(&exec_ctx, GRPC_MDSTR_PATH, |
|
|
|
grpc_slice_ref(method)), |
|
|
|
grpc_slice_ref_internal(method)), |
|
|
|
host != NULL ? grpc_mdelem_from_slices(&exec_ctx, GRPC_MDSTR_AUTHORITY, |
|
|
|
host != NULL ? grpc_mdelem_from_slices(&exec_ctx, GRPC_MDSTR_AUTHORITY, |
|
|
|
grpc_slice_ref(*host)) |
|
|
|
grpc_slice_ref_internal(*host)) |
|
|
|
: GRPC_MDNULL, |
|
|
|
: GRPC_MDNULL, |
|
|
|
deadline); |
|
|
|
deadline); |
|
|
|
grpc_exec_ctx_finish(&exec_ctx); |
|
|
|
grpc_exec_ctx_finish(&exec_ctx); |
|
|
@ -251,9 +251,9 @@ grpc_call *grpc_channel_create_pollset_set_call( |
|
|
|
return grpc_channel_create_call_internal( |
|
|
|
return grpc_channel_create_call_internal( |
|
|
|
exec_ctx, channel, parent_call, propagation_mask, NULL, pollset_set, |
|
|
|
exec_ctx, channel, parent_call, propagation_mask, NULL, pollset_set, |
|
|
|
grpc_mdelem_from_slices(exec_ctx, GRPC_MDSTR_PATH, |
|
|
|
grpc_mdelem_from_slices(exec_ctx, GRPC_MDSTR_PATH, |
|
|
|
grpc_slice_ref(method)), |
|
|
|
grpc_slice_ref_internal(method)), |
|
|
|
host != NULL ? grpc_mdelem_from_slices(exec_ctx, GRPC_MDSTR_AUTHORITY, |
|
|
|
host != NULL ? grpc_mdelem_from_slices(exec_ctx, GRPC_MDSTR_AUTHORITY, |
|
|
|
grpc_slice_ref(*host)) |
|
|
|
grpc_slice_ref_internal(*host)) |
|
|
|
: GRPC_MDNULL, |
|
|
|
: GRPC_MDNULL, |
|
|
|
deadline); |
|
|
|
deadline); |
|
|
|
} |
|
|
|
} |
|
|
|