From b27c0f8a62a9ae50ab0ad74a8244e893196ee70d Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 11 Apr 2016 22:37:22 -0700 Subject: Fix missing edge --- src/core/ext/transport/chttp2/transport/chttp2_transport.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/ext') diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c index b4cd185e62..01507f5ca6 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c @@ -1159,6 +1159,10 @@ static void cancel_from_api(grpc_exec_ctx *exec_ctx, grpc_chttp2_fake_status(exec_ctx, transport_global, stream_global, status, NULL); } + if (status != GRPC_STATUS_OK && !stream_global->seen_error) { + stream_global->seen_error = 1; + grpc_chttp2_list_add_check_read_ops(transport_global, stream_global); + } grpc_chttp2_mark_stream_closed(exec_ctx, transport_global, stream_global, 1, 1); } -- cgit v1.2.3