diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-11 22:37:22 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-11 22:37:22 -0700 |
commit | b27c0f8a62a9ae50ab0ad74a8244e893196ee70d (patch) | |
tree | 4b6bb6b86a582bc43e6701fd123374fff9f4246a /src/core/ext | |
parent | 811d0f205ce4d1d0d0b2af8ba9a4ea54fe591307 (diff) |
Fix missing edge
Diffstat (limited to 'src/core/ext')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/chttp2_transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |