This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new 620c1fd Check local flow controller to send MAX_STREAM_DATA frame
620c1fd is described below
commit 620c1fd73f0d4079c345da2555c2d90a2a66800c
Author: Masaori Koshiba <[email protected]>
AuthorDate: Mon Mar 4 10:55:45 2019 +0900
Check local flow controller to send MAX_STREAM_DATA frame
---
iocore/net/quic/QUICStream.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICStream.cc b/iocore/net/quic/QUICStream.cc
index 401382c..a398e01 100644
--- a/iocore/net/quic/QUICStream.cc
+++ b/iocore/net/quic/QUICStream.cc
@@ -413,7 +413,7 @@ QUICStream::recv(const QUICRstStreamFrame &frame)
bool
QUICStream::will_generate_frame(QUICEncryptionLevel level, ink_hrtime
timestamp)
{
- return this->_write_vio.get_reader()->read_avail() > 0;
+ return this->_local_flow_controller.will_generate_frame(level, timestamp) ||
(this->_write_vio.get_reader()->read_avail() > 0);
}
QUICFrame *