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 2019/04/15 02:49:58 UTC

[trafficserver] branch quic-latest updated: Fix a strange link issue in unit tests on release build

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 4738bef  Fix a strange link issue in unit tests on release build
4738bef is described below

commit 4738bef618c38015b25ac1f74a805fb6f989ed52
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon Apr 15 11:49:04 2019 +0900

    Fix a strange link issue in unit tests on release build
---
 iocore/net/quic/test/test_QUICHandshakeProtocol.cc     | 6 ++++++
 iocore/net/quic/test/test_QUICPacketHeaderProtector.cc | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/iocore/net/quic/test/test_QUICHandshakeProtocol.cc b/iocore/net/quic/test/test_QUICHandshakeProtocol.cc
index aac2e6c..fa13302 100644
--- a/iocore/net/quic/test/test_QUICHandshakeProtocol.cc
+++ b/iocore/net/quic/test/test_QUICHandshakeProtocol.cc
@@ -39,6 +39,12 @@
 #include "QUICPacketProtectionKeyInfo.h"
 #include "QUICTLS.h"
 
+// XXX For NetVCOptions::reset
+struct PollCont;
+#include "P_UDPConnection.h"
+#include "P_UnixNet.h"
+#include "P_UnixNetVConnection.h"
+
 // depends on size of cert
 static constexpr uint32_t MAX_HANDSHAKE_MSG_LEN = 8192;
 
diff --git a/iocore/net/quic/test/test_QUICPacketHeaderProtector.cc b/iocore/net/quic/test/test_QUICPacketHeaderProtector.cc
index 52aed26..9b7c0c4 100644
--- a/iocore/net/quic/test/test_QUICPacketHeaderProtector.cc
+++ b/iocore/net/quic/test/test_QUICPacketHeaderProtector.cc
@@ -27,6 +27,11 @@
 #include "QUICPacketHeaderProtector.h"
 #include "QUICTLS.h"
 
+struct PollCont;
+#include "P_UDPConnection.h"
+#include "P_UnixNet.h"
+#include "P_UnixNetVConnection.h"
+
 // depends on size of cert
 static constexpr uint32_t MAX_HANDSHAKE_MSG_LEN = 8192;