Skip to content
Snippets Groups Projects
Commit 759f59a1 authored by yang-g's avatar yang-g
Browse files

handle closed transport at the end of a read

parent 8f64d5c3
No related branches found
No related tags found
No related merge requests found
......@@ -1136,7 +1136,7 @@ static void recv_data(grpc_exec_ctx *exec_ctx, void *tp, int success) {
grpc_chttp2_publish_reads(exec_ctx, &t->global, &t->parsing);
t->parsing_active = 0;
}
if (!success || i != t->read_buffer.count) {
if (!success || i != t->read_buffer.count || t->closed) {
drop_connection(exec_ctx, t);
read_error_locked(exec_ctx, t);
} else if (!t->closed) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment