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

commit 5b0c618f300b277dfbc37de80d17da6bf73a87dc
Author: Masaori Koshiba <masa...@apache.org>
AuthorDate: Wed Jun 20 14:54:22 2018 +0900

    Print "ack_only" when sending ack only packet
---
 iocore/net/QUICNetVConnection.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 77f2a77..e472756 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -421,8 +421,8 @@ QUICNetVConnection::_transmit_packet(QUICPacketUPtr packet)
   SCOPED_MUTEX_LOCK(packet_transmitter_lock, this->_packet_transmitter_mutex, 
this_ethread());
 
   if (packet) {
-    QUICConDebug("Enqueue %s packet #%" PRIu64 " size=%hu", 
QUICDebugNames::packet_type(packet->type()), packet->packet_number(),
-                 packet->size());
+    QUICConDebug("Enqueue %s packet #%" PRIu64 " size=%hu %s", 
QUICDebugNames::packet_type(packet->type()), packet->packet_number(),
+                 packet->size(), (!packet->is_retransmittable()) ? "ack_only" 
: "");
     // TODO Remove const_cast
     this->_packet_send_queue.enqueue(const_cast<QUICPacket 
*>(packet.release()));
   }

Reply via email to