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 2017/12/18 02:00:10 UTC

[trafficserver] branch quic-latest updated: Fix storing STREAM frame on retransmission

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 559ed2c  Fix storing STREAM frame on retransmission
559ed2c is described below

commit 559ed2c19e0a99707beb55be9f2429c366797afa
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Mon Dec 18 10:59:54 2017 +0900

    Fix storing STREAM frame on retransmission
---
 iocore/net/quic/QUICFrame.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iocore/net/quic/QUICFrame.cc b/iocore/net/quic/QUICFrame.cc
index e611f43..682d5b0 100644
--- a/iocore/net/quic/QUICFrame.cc
+++ b/iocore/net/quic/QUICFrame.cc
@@ -109,19 +109,19 @@ QUICStreamFrame::store(uint8_t *buf, size_t *len, bool include_length_field) con
   size_t n;
 
   // Stream ID (i)
-  QUICTypeUtil::write_QUICStreamId(this->_stream_id, buf + *len, &n);
+  QUICTypeUtil::write_QUICStreamId(this->stream_id(), buf + *len, &n);
   *len += n;
 
   // [Offset (i)] "O" of "0b0010OLF"
   if (this->has_offset_field()) {
-    QUICTypeUtil::write_QUICOffset(this->_offset, buf + *len, &n);
+    QUICTypeUtil::write_QUICOffset(this->offset(), buf + *len, &n);
     *len += n;
     buf[0] += 0x04;
   }
 
   // [Length (i)] "L of "0b0010OLF"
   if (include_length_field) {
-    QUICTypeUtil::write_QUICVariableInt(this->_data_len, buf + *len, &n);
+    QUICTypeUtil::write_QUICVariableInt(this->data_length(), buf + *len, &n);
     *len += n;
     buf[0] += 0x02;
   }

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].