From 7d4a96a58b9770ad1cb41492f2afb49d7f3d9fd2 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 24 Apr 2015 07:54:07 -0700 Subject: [PATCH] Publish cancellation metadata --- src/core/transport/chttp2_transport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 7a7c2bdfd48..a02fb936770 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -379,6 +379,7 @@ static void maybe_join_window_updates(transport *t, stream *s); static void finish_reads(transport *t); static void add_to_pollset_locked(transport *t, grpc_pollset *pollset); static void perform_op_locked(transport *t, stream *s, grpc_transport_op *op); +static void add_metadata_batch(transport *t, stream *s); /* * CONSTRUCTION/DESTRUCTION/REFCOUNTING @@ -1151,7 +1152,7 @@ static void cancel_stream_inner(transport *t, stream *s, gpr_uint32 id, default: break; } - + add_metadata_batch(t, s); maybe_finish_read(t, s); } }