aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-09-04 00:36:10 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-09-04 00:36:10 +0200
commit791a48012768d8ebe824d0d9d5ae156db33edfb8 (patch)
tree05ab31f326fe9afad76f8719f91a88bd2a2711fe
parent9455a4ec2d415d7e2466c09ef1f0a9642aa3fbd7 (diff)
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);
}
}