From 400bc5cdc0b528a853c6b01b5b5ac993c078f9a2 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 27 Mar 2020 11:34:24 -0400 Subject: 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 Reviewed-By: David Carlier Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Jiawen Geng --- src/node_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/node_options.h') 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; -- cgit v1.2.3