You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/08/27 03:18:28 UTC
[trafficserver] 02/02: Return STREAM_BLOCKED frame when it is
generated
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
commit ea32638a1a0e2f8d52dc0876cace1c929ba67597
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Mon Aug 27 12:18:11 2018 +0900
Return STREAM_BLOCKED frame when it is generated
---
iocore/net/quic/QUICStream.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/iocore/net/quic/QUICStream.cc b/iocore/net/quic/QUICStream.cc
index d2a5a3f..37f1130 100644
--- a/iocore/net/quic/QUICStream.cc
+++ b/iocore/net/quic/QUICStream.cc
@@ -423,6 +423,9 @@ QUICStream::generate_frame(QUICEncryptionLevel level, uint64_t connection_credit
// Because it's already checked in above.
if (stream_credit == 0) {
frame = this->_remote_flow_controller.generate_frame(level, connection_credit, maximum_frame_size);
+ if (frame) {
+ return frame;
+ }
}
int64_t data_len = reader->block_read_avail();