diff options
author | Craig Tiller <ctiller@google.com> | 2015-04-23 16:02:01 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-04-23 16:02:01 -0700 |
commit | e889314fa2ff4d755c400a481831cc0c39a4c893 (patch) | |
tree | 41a7241afae49e162b21bcfe7d8bcc8fbd42d6ec /src | |
parent | 3928c7a1a68e5649b6180b1e8449a137cc745c8b (diff) |
Allow round-robin again in flow control
Diffstat (limited to 'src')
-rw-r--r-- | src/core/transport/chttp2_transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 2261b087a2..3d276b1629 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -893,10 +893,11 @@ static int prepare_write(transport *t) { } /* we should either exhaust window or have no ops left, but not both */ - GPR_ASSERT(s->outgoing_sopb->nops == 0 || s->outgoing_window <= 0); if (s->outgoing_sopb->nops == 0) { s->outgoing_sopb = NULL; schedule_cb(t, s->send_done_closure, 1); + } else if (s->outgoing_window) { + stream_list_add_tail(t, s, WRITABLE); } } |