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

commit df23d49602dbef944a22a4a67147648b8ba3dff9
Author: Masakazu Kitajo <mas...@apache.org>
AuthorDate: Thu May 17 10:25:20 2018 +0900

    Update largest received packet number
    
    The update logic was accidentally lost with 
7cb18b38d88fd6af13eed65867701117cbc890ae
---
 iocore/net/quic/QUICPacketReceiveQueue.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/iocore/net/quic/QUICPacketReceiveQueue.cc 
b/iocore/net/quic/QUICPacketReceiveQueue.cc
index 640dcaa..9dec772 100644
--- a/iocore/net/quic/QUICPacketReceiveQueue.cc
+++ b/iocore/net/quic/QUICPacketReceiveQueue.cc
@@ -39,6 +39,10 @@ QUICPacketReceiveQueue::dequeue(QUICPacketCreationResult 
&result)
     }
   }
 
+  if (quic_packet->packet_number() > this->_largest_received_packet_number) {
+    this->_largest_received_packet_number = quic_packet->packet_number();
+  }
+
   return quic_packet;
 }
 

-- 
To stop receiving notification emails like this one, please contact
mas...@apache.org.

Reply via email to