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:45 UTC
[trafficserver] 03/03: Print server generated CID on LossDetecotr
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 5a363861f812bfa4b2a0ed3775a011d2334739ca
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Jan 23 01:52:30 2018 +1100
Print server generated CID on LossDetecotr logs
---
iocore/net/quic/QUICLossDetector.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICLossDetector.cc b/iocore/net/quic/QUICLossDetector.cc
index 74db01f..867408c 100644
--- a/iocore/net/quic/QUICLossDetector.cc
+++ b/iocore/net/quic/QUICLossDetector.cc
@@ -118,7 +118,7 @@ QUICLossDetector::largest_acked_packet_number()
void
QUICLossDetector::on_packet_sent(QUICPacketUPtr packet)
{
- if (this->_connection_id == 0) {
+ if (this->_connection_id == 0 && packet->type() != QUICPacketType::VERSION_NEGOTIATION) {
this->_connection_id = packet->connection_id();
}
--
To stop receiving notification emails like this one, please contact
maskit@apache.org.