http.maxHeaderSize


只读属性,指定 HTTP 头允许的最大字节数。默认值为 16 KiB。可以使用 --max-http-header-size CLI 选项进行配置。

【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.】

可以通过传递 maxHeaderSize 选项来覆盖服务器和客户端请求的此设置。

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