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/08/28 23:31:37 UTC

[trafficserver] branch quic-latest updated: [draft-13] Bump HQ version in ALPN

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


The following commit(s) were added to refs/heads/quic-latest by this push:
     new f429053  [draft-13] Bump HQ version in ALPN
f429053 is described below

commit f429053851d5a9b340f1cc6348443ed3094a889c
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Wed Aug 29 08:31:23 2018 +0900

    [draft-13] Bump HQ version in ALPN
---
 iocore/net/quic/QUICConfig.cc | 2 +-
 iocore/net/quic/QUICTypes.h   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/iocore/net/quic/QUICConfig.cc b/iocore/net/quic/QUICConfig.cc
index 949a284..a3334c9 100644
--- a/iocore/net/quic/QUICConfig.cc
+++ b/iocore/net/quic/QUICConfig.cc
@@ -37,7 +37,7 @@
 // https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_alpn_protos.html
 // Should be integrate with IP_PROTO_TAG_HTTP_QUIC in ts/ink_inet.h ?
 using namespace std::literals;
-static constexpr std::string_view QUIC_ALPN_PROTO_LIST("\5hq-12"sv);
+static constexpr std::string_view QUIC_ALPN_PROTO_LIST("\5hq-13"sv);
 
 int QUICConfig::_config_id                   = 0;
 int QUICConfigParams::_connection_table_size = 65521;
diff --git a/iocore/net/quic/QUICTypes.h b/iocore/net/quic/QUICTypes.h
index c3f53f0..3076a2d 100644
--- a/iocore/net/quic/QUICTypes.h
+++ b/iocore/net/quic/QUICTypes.h
@@ -46,6 +46,7 @@ using QUICOffset       = uint64_t;
 // TODO: Update version number
 // Note: Prefix for drafts (0xff000000) + draft number
 // Note: Fix "Supported Version" field in test case of QUICPacketFactory_Create_VersionNegotiationPacket
+// Note: Fix QUIC_ALPN_PROTO_LIST in QUICConfig.cc
 // Note: Change ExtensionType (QUICTransportParametersHandler::TRANSPORT_PARAMETER_ID) if it's changed
 constexpr QUICVersion QUIC_SUPPORTED_VERSIONS[] = {
   0xff00000d,