]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINIR: mux-h1: Return 414 or 431 when appropriate
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 18 Nov 2024 21:19:00 +0000 (22:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Nov 2024 14:29:40 +0000 (15:29 +0100)
commitbc967758a21a2aa872109a1b24cb94887eb0629f
treed7fd315b4d6e37d7b7e75be0e6c67e00c716ce6d
parent41f28b3c5388ab77554778e0d3463eacbb0523a0
MINIR: mux-h1: Return 414 or 431 when appropriate

When the request is too large to fit in a buffer a 414 or a 431 error
message is returned depending on the error state of the request parser. A
414 is returned if the URI is too long, otherwise a 431 is returned.

This patch should fix the issue #1309.
include/haproxy/h1.h
src/h1_htx.c
src/mux_h1.c