This is an automated email from the ASF dual-hosted git repository.
maskit 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 6d8574a Doesn't count frame header size
6d8574a is described below
commit 6d8574a764f2f668483956bffedf033321389c9c
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Fri May 18 09:00:53 2018 +0900
Doesn't count frame header size
Offset was calculated with header size when update conection level flow
control credit.
---
iocore/net/quic/QUICStreamManager.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICStreamManager.cc
b/iocore/net/quic/QUICStreamManager.cc
index 95b1502..eff8f53 100644
--- a/iocore/net/quic/QUICStreamManager.cc
+++ b/iocore/net/quic/QUICStreamManager.cc
@@ -394,7 +394,7 @@ QUICStreamManager::generate_frame(uint16_t
connection_credit, uint16_t maximum_f
}
if (frame != nullptr && frame->type() == QUICFrameType::STREAM) {
- this->add_total_offset_sent(frame->size());
+ this->add_total_offset_sent(static_cast<QUICStreamFrame
*>(frame.get())->data_length());
}
return frame;
--
To stop receiving notification emails like this one, please contact
[email protected].