mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
quic: multiple fixups and updates
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/59342 Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "uv.h"
|
||||
#if HAVE_OPENSSL
|
||||
#include "openssl/opensslv.h"
|
||||
#include "quic/guard.h"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
@@ -551,11 +552,9 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
||||
true);
|
||||
AddOption("--experimental-quic",
|
||||
"" /* undocumented until its development */,
|
||||
#ifdef NODE_OPENSSL_HAS_QUIC
|
||||
#ifndef OPENSSL_NO_QUIC
|
||||
&EnvironmentOptions::experimental_quic,
|
||||
#else
|
||||
// Option is a no-op if the NODE_OPENSSL_HAS_QUIC
|
||||
// compile flag is not enabled
|
||||
NoOp{},
|
||||
#endif
|
||||
kAllowedInEnvvar);
|
||||
|
||||
Reference in New Issue
Block a user