Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-05-08 01:49:14 +0300
committerJames M Snell <jasnell@gmail.com>2020-06-16 19:23:34 +0300
commit55360443ced34515c775c5beb29f907de671dffe (patch)
tree77a533af0ace262f3d7b3adb6f198fdec4e5c946 /src/node_metadata.cc
parentbccb514936ab5f225bb9fb7cda259490322321c1 (diff)
quic: initial QUIC implementation
Co-authored-by: Anna Henningsen <anna@addaleax.net> Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com> Co-authored-by: gengjiawen <technicalcute@gmail.com> Co-authored-by: James M Snell <jasnell@gmail.com> Co-authored-by: Lucas Pardue <lucaspardue.24.7@gmail.com> Co-authored-by: Ouyang Yadong <oyydoibh@gmail.com> Co-authored-by: Juan Jos<C3><A9> Arboleda <soyjuanarbol@gmail.com> Co-authored-by: Trivikram Kamat <trivikr.dev@gmail.com> Co-authored-by: Denys Otrishko <shishugi@gmail.com> PR-URL: https://github.com/nodejs/node/pull/32379 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_metadata.cc')
-rw-r--r--src/node_metadata.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/node_metadata.cc b/src/node_metadata.cc
index 8d0a725de45..e8864d35527 100644
--- a/src/node_metadata.cc
+++ b/src/node_metadata.cc
@@ -13,6 +13,11 @@
#include <openssl/opensslv.h>
#endif // HAVE_OPENSSL
+#if defined(NODE_EXPERIMENTAL_QUIC) && NODE_EXPERIMENTAL_QUIC
+#include <ngtcp2/version.h>
+#include <nghttp3/version.h>
+#endif
+
#ifdef NODE_HAVE_I18N_SUPPORT
#include <unicode/timezone.h>
#include <unicode/ulocdata.h>
@@ -91,6 +96,11 @@ Metadata::Versions::Versions() {
openssl = GetOpenSSLVersion();
#endif
+#if defined(NODE_EXPERIMENTAL_QUIC) && NODE_EXPERIMENTAL_QUIC
+ ngtcp2 = NGTCP2_VERSION;
+ nghttp3 = NGHTTP3_VERSION;
+#endif
+
#ifdef NODE_HAVE_I18N_SUPPORT
icu = U_ICU_VERSION;
unicode = U_UNICODE_VERSION;