Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <rosaxny@gmail.com>2020-03-27 18:34:24 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-29 23:38:57 +0300
commit400bc5cdc0b528a853c6b01b5b5ac993c078f9a2 (patch)
treec40c431a27ccba5ace3278011d8573383ccc3335 /src/node_options.h
parent9b4306dc153c73b71cfcc58b14de04d3a53809de (diff)
http: increase default header size from 8KB to 16KB
Fixes: https://github.com/nodejs/node/issues/27645 PR-URL: https://github.com/nodejs/node/pull/32520 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r--src/node_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_options.h b/src/node_options.h
index cffc06beb8c..8c120b0b0a6 100644
--- a/src/node_options.h
+++ b/src/node_options.h
@@ -116,7 +116,7 @@ class EnvironmentOptions : public Options {
bool expose_internals = false;
bool frozen_intrinsics = false;
std::string heap_snapshot_signal;
- uint64_t max_http_header_size = 8 * 1024;
+ uint64_t max_http_header_size = 16 * 1024;
bool no_deprecation = false;
bool no_force_async_hooks_checks = false;
bool no_warnings = false;