aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-03 15:55:00 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-03 15:55:00 -0700
commitb98d603a02818d04a9d09ab15b0facda0b8ecb26 (patch)
treee79bb55b1e3d2d18b2d3163d1d1d79249299adbb
parente93e6cbfca968007f205d86c222496ec553bb1bb (diff)
parent791a48012768d8ebe824d0d9d5ae156db33edfb8 (diff)
Merge pull request #3242 from nicolasnoble/cancel-means-change
Even if the stream was cancelled, notify of its state change.
-rw-r--r--src/core/transport/chttp2_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c
index aa6a860c67..9e3d7dd551 100644
--- a/src/core/transport/chttp2_transport.c
+++ b/src/core/transport/chttp2_transport.c
@@ -695,9 +695,9 @@ static void perform_stream_op_locked(
}
grpc_chttp2_incoming_metadata_live_op_buffer_end(
&stream_global->outstanding_metadata);
+ grpc_chttp2_list_add_read_write_state_changed(transport_global,
+ stream_global);
if (stream_global->id != 0) {
- grpc_chttp2_list_add_read_write_state_changed(transport_global,
- stream_global);
grpc_chttp2_list_add_writable_stream(transport_global, stream_global);
}
}