Skip to content

when a HTTP header overflow error occurs, instead of a generic 400 response, return 431 Request Header Fields Too Large

Instead of returning a generic 400 response when the max header size is reached, return a 431 Request Header Fields Too Large.

Fixes: https://github.com/nodejs/node/issues/25528 Refs: https://tools.ietf.org/html/rfc6585#section-5

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading