@@ -244,9 +244,6 @@ std::string config_warning_file; // NOLINT(runtime/string)
244
244
// that is used by lib/internal/bootstrap_node.js
245
245
bool config_expose_internals = false ;
246
246
247
- // Set in node.cc by ParseArgs when --expose-http2 is used.
248
- bool config_expose_http2 = false ;
249
-
250
247
bool v8_initialized = false ;
251
248
252
249
bool linux_at_secure = false ;
@@ -3792,7 +3789,6 @@ static void PrintHelp() {
3792
3789
" --abort-on-uncaught-exception\n "
3793
3790
" aborting instead of exiting causes a\n "
3794
3791
" core file to be generated for analysis\n "
3795
- " --expose-http2 enable experimental HTTP2 support\n "
3796
3792
" --trace-warnings show stack traces on process warnings\n "
3797
3793
" --redirect-warnings=file\n "
3798
3794
" write warnings to file instead of\n "
@@ -3915,7 +3911,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
3915
3911
" --throw-deprecation" ,
3916
3912
" --no-warnings" ,
3917
3913
" --napi-modules" ,
3918
- " --expose-http2" ,
3914
+ " --expose-http2" , // keep as a non-op through v9.x
3919
3915
" --trace-warnings" ,
3920
3916
" --redirect-warnings" ,
3921
3917
" --trace-sync-io" ,
@@ -4117,7 +4113,7 @@ static void ParseArgs(int* argc,
4117
4113
config_expose_internals = true ;
4118
4114
} else if (strcmp (arg, " --expose-http2" ) == 0 ||
4119
4115
strcmp (arg, " --expose_http2" ) == 0 ) {
4120
- config_expose_http2 = true ;
4116
+ // Keep as a non-op through v9.x
4121
4117
} else if (strcmp (arg, " -" ) == 0 ) {
4122
4118
break ;
4123
4119
} else if (strcmp (arg, " --" ) == 0 ) {
0 commit comments