Skip to content
Snippets Groups Projects
Commit 03b605ce authored by Craig Tiller's avatar Craig Tiller
Browse files

Remove dubious op manipulation: theres no need

parent e86cce8e
No related branches found
No related tags found
No related merge requests found
...@@ -138,13 +138,11 @@ static void on_md_processing_done( ...@@ -138,13 +138,11 @@ static void on_md_processing_done(
error_details = error_details != NULL error_details = error_details != NULL
? error_details ? error_details
: "Authentication metadata processing failed."; : "Authentication metadata processing failed.";
calld->transport_op->send_initial_metadata = false;
if (calld->transport_op->send_message) { if (calld->transport_op->send_message) {
grpc_byte_stream_destroy( grpc_byte_stream_destroy(
&exec_ctx, calld->transport_op->payload->send_message.send_message); &exec_ctx, calld->transport_op->payload->send_message.send_message);
calld->transport_op->send_message = false; calld->transport_op->payload->send_message.send_message = NULL;
} }
calld->transport_op->send_trailing_metadata = false;
grpc_closure_sched( grpc_closure_sched(
&exec_ctx, calld->on_done_recv, &exec_ctx, calld->on_done_recv,
grpc_error_set_int(GRPC_ERROR_CREATE_FROM_COPIED_STRING(error_details), grpc_error_set_int(GRPC_ERROR_CREATE_FROM_COPIED_STRING(error_details),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment