This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 90fc0ead85 Fix QUICSupport (#10637)
90fc0ead85 is described below
commit 90fc0ead85ee2a9621b26a9e5ac012b8e0b64464
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Thu Oct 19 02:50:31 2023 +0900
Fix QUICSupport (#10637)
---
iocore/net/QUICNetVConnection_quiche.cc | 1 +
iocore/net/SSLUtils.cc | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/iocore/net/QUICNetVConnection_quiche.cc
b/iocore/net/QUICNetVConnection_quiche.cc
index a842a8b8c4..d1d8f60ba4 100644
--- a/iocore/net/QUICNetVConnection_quiche.cc
+++ b/iocore/net/QUICNetVConnection_quiche.cc
@@ -44,6 +44,7 @@ QUICNetVConnection::QUICNetVConnection()
this->_set_service(static_cast<TLSCertSwitchSupport *>(this));
this->_set_service(static_cast<TLSSNISupport *>(this));
this->_set_service(static_cast<TLSSessionResumptionSupport *>(this));
+ this->_set_service(static_cast<QUICSupport *>(this));
}
QUICNetVConnection::~QUICNetVConnection() {}
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index fb6e9c7005..e8e35af522 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -49,6 +49,9 @@
#include "SSLDiags.h"
#include "SSLStats.h"
#include "TLSSessionResumptionSupport.h"
+#if TS_USE_QUIC == 1
+#include "QUICSupport.h"
+#endif
#include "P_SSLNetVConnection.h"
#include <string>
@@ -960,6 +963,9 @@ SSLInitializeLibrary()
TLSEarlyDataSupport::initialize();
TLSTunnelSupport::initialize();
TLSCertSwitchSupport::initialize();
+#if TS_USE_QUIC == 1
+ QUICSupport::initialize();
+#endif
open_ssl_initialized = true;
}