diff options
author | 2016-04-13 13:10:00 -0700 | |
---|---|---|
committer | 2016-04-13 13:10:00 -0700 | |
commit | 2196c7e253c2932473c9909bdb58b4931b5c677f (patch) | |
tree | 1edd1e6fb3d7fdb9cd6f033c7eca17fbb7bb3f0b /src/core/ext | |
parent | 001193c7522479169d768eed76da33d3050d0f1b (diff) | |
parent | c2b6a0bcf98fb3d153e319a4be255da8540977c8 (diff) |
Merge branch 'master' of github.com:grpc/grpc into ip_parse_refactor
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); } |