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 2f2ca3b  Rename truncate_connection_id to omit_connection_id
2f2ca3b is described below

commit 2f2ca3b2620e1672b21bdd102acf28c5b1a92948
Author: Masakazu Kitajo <mas...@apache.org>
AuthorDate: Mon Sep 11 11:13:53 2017 +0900

    Rename truncate_connection_id to omit_connection_id
---
 iocore/net/quic/QUICDebugNames.cc         | 4 ++--
 iocore/net/quic/QUICHandshake.cc          | 2 +-
 iocore/net/quic/QUICTransportParameters.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/iocore/net/quic/QUICDebugNames.cc 
b/iocore/net/quic/QUICDebugNames.cc
index 66b6866..0599294 100644
--- a/iocore/net/quic/QUICDebugNames.cc
+++ b/iocore/net/quic/QUICDebugNames.cc
@@ -169,8 +169,8 @@ 
QUICDebugNames::transport_parameter_id(QUICTransportParameterId id)
     return "INITIAL_MAX_STREAM_ID";
   case QUICTransportParameterId::IDLE_TIMEOUT:
     return "IDLE_TIMEOUT";
-  case QUICTransportParameterId::TRUNCATE_CONNECTION_ID:
-    return "TRUNCATE_CONNECTION_ID";
+  case QUICTransportParameterId::OMIT_CONNECTION_ID:
+    return "OMIT_CONNECTION_ID";
   case QUICTransportParameterId::MAX_PACKET_SIZE:
     return "MAX_PACKET_SIZE";
   default:
diff --git a/iocore/net/quic/QUICHandshake.cc b/iocore/net/quic/QUICHandshake.cc
index ef82f75..4c94835 100644
--- a/iocore/net/quic/QUICHandshake.cc
+++ b/iocore/net/quic/QUICHandshake.cc
@@ -262,7 +262,7 @@ QUICHandshake::_load_local_transport_parameters()
 
   tp->add_version(QUIC_SUPPORTED_VERSIONS[0]);
   // MAYs
-  // 
this->_local_transport_parameters.add(QUICTransportParameterId::TRUNCATE_CONNECTION_ID,
 {});
+  // 
this->_local_transport_parameters.add(QUICTransportParameterId::OMIT_CONNECTION_ID,
 {});
   // 
this->_local_transport_parameters.add(QUICTransportParameterId::MAX_PACKET_SIZE,
 {{0x00, 0x00}, 2});
   this->_local_transport_parameters = 
std::unique_ptr<QUICTransportParameters>(tp);
 }
diff --git a/iocore/net/quic/QUICTransportParameters.h 
b/iocore/net/quic/QUICTransportParameters.h
index 63923b0..06adaf4 100644
--- a/iocore/net/quic/QUICTransportParameters.h
+++ b/iocore/net/quic/QUICTransportParameters.h
@@ -38,7 +38,7 @@ public:
     INITIAL_MAX_DATA,
     INITIAL_MAX_STREAM_ID,
     IDLE_TIMEOUT,
-    TRUNCATE_CONNECTION_ID,
+    OMIT_CONNECTION_ID,
     MAX_PACKET_SIZE,
     STATELESS_RETRY_TOKEN,
   };

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Reply via email to