maxHeaderSize It should be an instance property, not a static property of the constructor.
Closed this issue · 4 comments
masx200 commented
maxHeaderSize It should be an instance property, not a static property of the constructor.
Line 33 in 8a13b79
masx200 commented
https://nodejs.org/dist/latest-v18.x/docs/api/http.html#httpmaxheadersize
This can be overridden for servers and client requests by passing the maxHeaderSize option.
Jimbly commented
I suspect it needs to be both to keep compatibility with both old users and the new Node API.
masx200 commented
I suspect it needs to be both to keep compatibility with both old users and the new Node API.
if ( this . headerSize > (this.maxHeaderSize || HTTPParser . maxHeaderSize )) {