From bd9f4d295495b11d2e460b320681e18a11524bb8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 27 Mar 2020 11:34:24 -0400 Subject: [PATCH] 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 --- doc/api/cli.md | 6 +++++- doc/api/http.md | 4 ++-- doc/node.1 | 2 +- src/node_options.cc | 2 +- src/node_options.h | 2 +- test/parallel/test-http-max-header-size.js | 2 +- test/parallel/test-http-max-http-headers.js | 4 ++-- 7 files changed, 13 insertions(+), 9 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index cd7e851971702d..386d9cdb96ecb3 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -440,9 +440,13 @@ disappear in a non-semver-major release. ### `--max-http-header-size=size` -Specify the maximum size, in bytes, of HTTP headers. Defaults to 8KB. +Specify the maximum size, in bytes, of HTTP headers. Defaults to 16KB. ### `--napi-modules`