mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
feat: allow http-parser NODE_OPTION in packaged apps (#21694)
This commit is contained in:
@@ -144,7 +144,8 @@ void SetNodeOptions(base::Environment* env) {
|
||||
"--force-fips", "--enable-fips"};
|
||||
|
||||
// Subset of options allowed in packaged apps
|
||||
const std::set<std::string> allowed_in_packaged = {"--max-http-header-size"};
|
||||
const std::set<std::string> allowed_in_packaged = {"--max-http-header-size",
|
||||
"--http-parser"};
|
||||
|
||||
if (env->HasVar("NODE_OPTIONS")) {
|
||||
std::string options;
|
||||
|
||||
Reference in New Issue
Block a user