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
path: root/src/env.h
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2021-01-25 21:49:03 +0300
committerJames M Snell <jasnell@gmail.com>2021-01-30 18:49:28 +0300
commitc3d6d50309a5046c98475e99c13f48a8fee12ac7 (patch)
treec429781c87603dcd4905998bbc9bd073399c2f67 /src/env.h
parentf763a80ab59bbaa0fcf5f3b0519a70336ee88744 (diff)
quic: remove quic
PR-URL: https://github.com/nodejs/node/pull/37067 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h43
1 files changed, 2 insertions, 41 deletions
diff --git a/src/env.h b/src/env.h
index 514a3871b4e..829e2f9fb07 100644
--- a/src/env.h
+++ b/src/env.h
@@ -366,7 +366,6 @@ constexpr size_t kFsStatsBufferLength =
V(pubkey_string, "pubkey") \
V(public_exponent_string, "publicExponent") \
V(query_string, "query") \
- V(http3_alpn_string, "h3-29") \
V(rate_string, "rate") \
V(raw_string, "raw") \
V(read_host_object_string, "_readHostObject") \
@@ -435,16 +434,6 @@ constexpr size_t kFsStatsBufferLength =
V(x_forwarded_string, "x-forwarded-for") \
V(zero_return_string, "ZERO_RETURN")
-#if defined(NODE_EXPERIMENTAL_QUIC) && NODE_EXPERIMENTAL_QUIC
-# define QUIC_ENVIRONMENT_STRONG_PERSISTENT_TEMPLATES(V) \
- V(quicclientsession_instance_template, v8::ObjectTemplate) \
- V(quicserversession_instance_template, v8::ObjectTemplate) \
- V(quicserverstream_instance_template, v8::ObjectTemplate) \
- V(quicsocketsendwrap_instance_template, v8::ObjectTemplate)
-#else
-# define QUIC_ENVIRONMENT_STRONG_PERSISTENT_TEMPLATES(V)
-#endif
-
#define ENVIRONMENT_STRONG_PERSISTENT_TEMPLATES(V) \
V(async_wrap_ctor_template, v8::FunctionTemplate) \
V(async_wrap_object_ctor_template, v8::FunctionTemplate) \
@@ -479,34 +468,7 @@ constexpr size_t kFsStatsBufferLength =
V(tty_constructor_template, v8::FunctionTemplate) \
V(write_wrap_template, v8::ObjectTemplate) \
V(worker_heap_snapshot_taker_template, v8::ObjectTemplate) \
- V(x509_constructor_template, v8::FunctionTemplate) \
- QUIC_ENVIRONMENT_STRONG_PERSISTENT_TEMPLATES(V)
-
-#if defined(NODE_EXPERIMENTAL_QUIC) && NODE_EXPERIMENTAL_QUIC
-# define QUIC_ENVIRONMENT_STRONG_PERSISTENT_VALUES(V) \
- V(quic_on_socket_close_function, v8::Function) \
- V(quic_on_socket_server_busy_function, v8::Function) \
- V(quic_on_session_cert_function, v8::Function) \
- V(quic_on_session_client_hello_function, v8::Function) \
- V(quic_on_session_close_function, v8::Function) \
- V(quic_on_session_handshake_function, v8::Function) \
- V(quic_on_session_keylog_function, v8::Function) \
- V(quic_on_session_path_validation_function, v8::Function) \
- V(quic_on_session_use_preferred_address_function, v8::Function) \
- V(quic_on_session_qlog_function, v8::Function) \
- V(quic_on_session_ready_function, v8::Function) \
- V(quic_on_session_status_function, v8::Function) \
- V(quic_on_session_ticket_function, v8::Function) \
- V(quic_on_session_version_negotiation_function, v8::Function) \
- V(quic_on_stream_close_function, v8::Function) \
- V(quic_on_stream_error_function, v8::Function) \
- V(quic_on_stream_ready_function, v8::Function) \
- V(quic_on_stream_reset_function, v8::Function) \
- V(quic_on_stream_headers_function, v8::Function) \
- V(quic_on_stream_blocked_function, v8::Function)
-#else
-# define QUIC_ENVIRONMENT_STRONG_PERSISTENT_VALUES(V)
-#endif
+ V(x509_constructor_template, v8::FunctionTemplate)
#define ENVIRONMENT_STRONG_PERSISTENT_VALUES(V) \
V(async_hooks_after_function, v8::Function) \
@@ -563,8 +525,7 @@ constexpr size_t kFsStatsBufferLength =
V(tls_wrap_constructor_function, v8::Function) \
V(trace_category_state_function, v8::Function) \
V(udp_constructor_function, v8::Function) \
- V(url_constructor_function, v8::Function) \
- QUIC_ENVIRONMENT_STRONG_PERSISTENT_VALUES(V)
+ V(url_constructor_function, v8::Function)
class Environment;
struct AllocatedBuffer;