We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c5fb8 commit 423f279Copy full SHA for 423f279
src/index.ts
@@ -240,7 +240,12 @@ if (!amMainInstance) {
240
stdio: ['inherit', 'pipe', 'pipe'],
241
shell: isWindows, // Required to spawn a .cmd script
242
windowsVerbatimArguments: false, // Fixes quoting in windows shells
243
- detached: !isWindows // Detach on Linux, so we can cleanly kill as a group
+ detached: !isWindows, // Detach on Linux, so we can cleanly kill as a group
244
+ env: Object.assign({}, process.env, {
245
+ NODE_OPTIONS:
246
+ process.env.HTTPTOOLKIT_NODE_OPTIONS || // Allow manually configuring node options
247
+ "--max-http-header-size=102400" // By default, set max header size to 100KB
248
+ })
249
});
250
251
// Both not null because we pass 'pipe' for args 2 & 3 above.
0 commit comments