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/04/02 04:39:12 UTC

[trafficserver] branch quic-latest updated: QUIC: Fix clang warning

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 de06141  QUIC: Fix clang warning
de06141 is described below

commit de061414396063f85aa09a31b7a10fd60104546b
Author: scw00 <sc...@apache.org>
AuthorDate: Mon Apr 2 11:34:41 2018 +0800

    QUIC: Fix clang warning
---
 iocore/net/P_QUICNetVConnection.h | 1 +
 iocore/net/QUICNetVConnection.cc  | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/iocore/net/P_QUICNetVConnection.h b/iocore/net/P_QUICNetVConnection.h
index 4c08f86..eb7defd 100644
--- a/iocore/net/P_QUICNetVConnection.h
+++ b/iocore/net/P_QUICNetVConnection.h
@@ -170,6 +170,7 @@ public:
   void start();
   void remove_connection_ids();
   void free(EThread *t) override;
+  void free() override;
   void destroy(EThread *t);
 
   UDPConnection *get_udp_con();
diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 1f74784..63b8a56 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -235,6 +235,12 @@ QUICNetVConnection::free(EThread *t)
   this->_packet_handler->close_conenction(this);
 }
 
+void
+QUICNetVConnection::free()
+{
+  this->free(this_ethread());
+}
+
 // called by ET_UDP
 void
 QUICNetVConnection::remove_connection_ids()

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