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/01/22 05:01:25 UTC

[trafficserver] branch quic-latest updated: Fix a bug that retransmission timer wasn't reset correctly

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 77badcf  Fix a bug that retransmission timer wasn't reset correctly
77badcf is described below

commit 77badcf9df125dd2c3129dbabc02b773a2f26195
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon Jan 22 16:00:39 2018 +1100

    Fix a bug that retransmission timer wasn't reset correctly
---
 iocore/net/quic/QUICLossDetector.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iocore/net/quic/QUICLossDetector.cc b/iocore/net/quic/QUICLossDetector.cc
index e12f937..74db01f 100644
--- a/iocore/net/quic/QUICLossDetector.cc
+++ b/iocore/net/quic/QUICLossDetector.cc
@@ -65,6 +65,7 @@ QUICLossDetector::event_handler(int event, Event *edata)
   switch (event) {
   case EVENT_INTERVAL: {
     if (this->_loss_detection_alarm_at <= Thread::get_hrtime()) {
+      this->_loss_detection_alarm_at = 0;
       this->_on_loss_detection_alarm();
     }
     break;

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