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 14:53:44 UTC

[trafficserver] 02/03: Add QUIC CID to quic_app logs

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 75812607fa50f5b165159cc0f9662e65d52a0311
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Jan 23 01:51:56 2018 +1100

    Add QUIC CID to quic_app logs
---
 iocore/net/quic/QUICApplication.cc | 2 +-
 iocore/net/quic/QUICApplication.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/quic/QUICApplication.cc b/iocore/net/quic/QUICApplication.cc
index b0ab67e..2bc9775 100644
--- a/iocore/net/quic/QUICApplication.cc
+++ b/iocore/net/quic/QUICApplication.cc
@@ -156,7 +156,7 @@ QUICApplication::reenable(QUICStream *stream)
     stream_io->read_reenable();
     stream_io->write_reenable();
   } else {
-    Debug(tag, "Unknown Stream, id: %" PRIx64, stream->id());
+    Debug(tag, "[%" PRIx64 "] Unknown Stream, id: %" PRIx64, static_cast<uint64_t>(this->_client_qc->connection_id()), stream->id());
   }
 
   return;
diff --git a/iocore/net/quic/QUICApplication.h b/iocore/net/quic/QUICApplication.h
index f2a47e1..cbffb95 100644
--- a/iocore/net/quic/QUICApplication.h
+++ b/iocore/net/quic/QUICApplication.h
@@ -26,9 +26,9 @@
 #include "../../eventsystem/I_EventSystem.h"
 #include "../../eventsystem/I_IOBuffer.h"
 #include "QUICTypes.h"
+#include "QUICConnection.h"
 #include "QUICStream.h"
 
-class QUICConnection;
 class QUICApplication;
 
 /**

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