diff options
author | 2017-11-14 11:34:26 -0800 | |
---|---|---|
committer | 2017-11-14 11:34:26 -0800 | |
commit | abfb4f8d5bdcb6f0b81e389d321c58bf03485a68 (patch) | |
tree | aff1acaadd945bca136b82c952b515a6bb2f307f /src/core/ext/transport | |
parent | 54e8f37e537794c2d814c1604c1282125f64f093 (diff) |
Handle negative remote_window
Diffstat (limited to 'src/core/ext/transport')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/writing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/writing.cc b/src/core/ext/transport/chttp2/transport/writing.cc index 6154bdb682..e3ba5b124d 100644 --- a/src/core/ext/transport/chttp2/transport/writing.cc +++ b/src/core/ext/transport/chttp2/transport/writing.cc @@ -322,7 +322,7 @@ class DataSendContext { GPR_MIN(stream_remote_window(), t_->flow_control->remote_window())); } - bool AnyOutgoing() const { return max_outgoing() != 0; } + bool AnyOutgoing() const { return max_outgoing() > 0; } void FlushCompressedBytes() { uint32_t send_bytes = |