]> git.kaiwu.me - haproxy.git/commit
MEDIUM: http: add the "short-status-code" violation exception
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Oct 2026 06:51:18 +0000 (08:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Oct 2026 15:41:42 +0000 (17:41 +0200)
commit8a47f9028ae1b24121d2112401180e213205abd0
tree105fa250c0ec6072527f41d0aa77bc0b23c6c4a6
parent5364eccc58486afaf11c596ae68c256e8959258a
MEDIUM: http: add the "short-status-code" violation exception

Now by default we reject status codes shorter than 3 digits, though
this exception permits to continue to accept them. There is no valid
reason for accepting these and no known client currently supports
them, but it has been supported due to historical reasons that are
long outdated.

It is expected that noone will notice, and may be candidate for
backporting only to the latest LTS version after some observation
time.
doc/configuration.txt
include/haproxy/http-t.h
src/h1.c
src/http.c