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.h
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.h')
-rw-r--r--src/node_metadata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node_metadata.h b/src/node_metadata.h
index bf7e5d3ff4e..2a4571883d8 100644
--- a/src/node_metadata.h
+++ b/src/node_metadata.h
@@ -38,6 +38,12 @@ namespace node {
#define NODE_VERSIONS_KEY_CRYPTO(V)
#endif
+#if defined(NODE_EXPERIMENTAL_QUIC) && NODE_EXPERIMENTAL_QUIC
+#define NODE_VERSIONS_KEY_QUIC(V) V(ngtcp2) V(nghttp3)
+#else
+#define NODE_VERSIONS_KEY_QUIC(V)
+#endif
+
#ifdef NODE_HAVE_I18N_SUPPORT
#define NODE_VERSIONS_KEY_INTL(V) \
V(cldr) \
@@ -51,6 +57,7 @@ namespace node {
#define NODE_VERSIONS_KEYS(V) \
NODE_VERSIONS_KEYS_BASE(V) \
NODE_VERSIONS_KEY_CRYPTO(V) \
+ NODE_VERSIONS_KEY_QUIC(V) \
NODE_VERSIONS_KEY_INTL(V)
class Metadata {