You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sc...@apache.org on 2018/03/09 08:51:57 UTC

[trafficserver] branch quic-latest updated: QUIC: free the retransmision initial packet

This is an automated email from the ASF dual-hosted git repository.

scw00 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 2da9541  QUIC: free the retransmision initial packet
2da9541 is described below

commit 2da95412be31c7cc43b4c0fbde18ab856b995d3c
Author: scw00 <sc...@apache.org>
AuthorDate: Fri Mar 9 09:01:20 2018 +0800

    QUIC: free the retransmision initial packet
---
 iocore/net/QUICNet.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iocore/net/QUICNet.cc b/iocore/net/QUICNet.cc
index 5bc9761..14becbe 100644
--- a/iocore/net/QUICNet.cc
+++ b/iocore/net/QUICNet.cc
@@ -77,6 +77,8 @@ QUICPollCont::_process_long_header_packet(QUICPollEvent *e, NetHandler *nh)
       vc->read.triggered = 1;
       vc->handle_received_packet(p);
       vc->handleEvent(QUIC_EVENT_PACKET_READ_READY, nullptr);
+    } else {
+      p->free();
     }
     return;
   case QUICPacketType::ZERO_RTT_PROTECTED:

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