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:
James M Snell
2025-08-03 06:16:03 -07:00
parent a6c5d27739
commit cd9fd09a27
44 changed files with 646 additions and 360 deletions

View File

@@ -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);