http.maxHeaderSize


只读属性,指定 HTTP 标头的最大允许大小(以字节为单位)。 默认为 16 KiB。 可使用 --max-http-header-size 命令行选项进行配置。

这可以通过传入 maxHeaderSize 选项为服务器和客户端请求覆盖。

Read-only property specifying the maximum allowed size of HTTP headers in bytes. Defaults to 16 KiB. Configurable using the --max-http-header-size CLI option.

This can be overridden for servers and client requests by passing the maxHeaderSize option.