@@ -244,9 +244,6 @@ std::string config_warning_file; // NOLINT(runtime/string)
244244// that is used by lib/internal/bootstrap_node.js
245245bool config_expose_internals = false ;
246246
247- // Set in node.cc by ParseArgs when --expose-http2 is used.
248- bool config_expose_http2 = false ;
249-
250247bool v8_initialized = false ;
251248
252249bool linux_at_secure = false ;
@@ -3792,7 +3789,6 @@ static void PrintHelp() {
37923789 " --abort-on-uncaught-exception\n "
37933790 " aborting instead of exiting causes a\n "
37943791 " core file to be generated for analysis\n "
3795- " --expose-http2 enable experimental HTTP2 support\n "
37963792 " --trace-warnings show stack traces on process warnings\n "
37973793 " --redirect-warnings=file\n "
37983794 " write warnings to file instead of\n "
@@ -3915,7 +3911,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
39153911 " --throw-deprecation" ,
39163912 " --no-warnings" ,
39173913 " --napi-modules" ,
3918- " --expose-http2" ,
3914+ " --expose-http2" , // keep as a non-op through v9.x
39193915 " --trace-warnings" ,
39203916 " --redirect-warnings" ,
39213917 " --trace-sync-io" ,
@@ -4117,7 +4113,7 @@ static void ParseArgs(int* argc,
41174113 config_expose_internals = true ;
41184114 } else if (strcmp (arg, " --expose-http2" ) == 0 ||
41194115 strcmp (arg, " --expose_http2" ) == 0 ) {
4120- config_expose_http2 = true ;
4116+ // Keep as a non-op through v9.x
41214117 } else if (strcmp (arg, " -" ) == 0 ) {
41224118 break ;
41234119 } else if (strcmp (arg, " --" ) == 0 ) {
0 commit comments