Jarvis icon indicating copy to clipboard operation
Jarvis copied to clipboard

Return 431 status when headers are too large

Open bpbecker opened this issue 1 year ago • 1 comments

When a request's headers exceed BufferSize we currently handle it as a DRC.Wait error and close the connection. I believe the more proper way to handle it is to issue a HTTP 431. This will give the client more information on how to correct the request.

431 Request Header Fields Too Large

The server is unwilling to process the request because its header fields are too large. The request may be resubmitted after reducing the size of the request header fields.

bpbecker avatar Apr 24 '23 19:04 bpbecker

This will require a change to Conga

bpbecker avatar Jul 25 '23 18:07 bpbecker