diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-17 16:30:08 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-17 16:30:08 -0700 |
commit | 428f9796f60a7fa85a5ac390e37bd79fc72614c8 (patch) | |
tree | 93404d0bdd7ea0afb26729fee53f93d81921da16 /src | |
parent | 285b882157f4d42b776fb959b42bca39a6158768 (diff) |
Only start writing if theres no errors
Diffstat (limited to 'src')
-rw-r--r-- | src/core/transport/chttp2_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 4d0e0c94c9..f002b56381 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -471,7 +471,7 @@ static void lock(grpc_chttp2_transport *t) { gpr_mu_lock(&t->mu); } static void unlock(grpc_chttp2_transport *t) { grpc_iomgr_closure *run_closures; - if (!t->writing_active && + if (!t->writing_active && t->global.error_state == GRPC_CHTTP2_ERROR_STATE_NONE && grpc_chttp2_unlocking_check_writes(&t->global, &t->writing)) { t->writing_active = 1; REF_TRANSPORT(t, "writing"); |